aboutsummaryrefslogtreecommitdiff
path: root/include/hw/pci/pci_device.h
diff options
context:
space:
mode:
authorMattias Nissler <mnissler@rivosinc.com>2024-09-10 14:35:12 -0700
committerMichael S. Tsirkin <mst@redhat.com>2024-11-04 09:22:58 -0500
commitc3ec57e495b032047ddfef2075792340c407532a (patch)
treebf4160069918ba774792a8991102ac2c8fd85833 /include/hw/pci/pci_device.h
parent92ec7805190313c9e628f8fc4eb4f932c15247bd (diff)
softmmu: Expand comments describing max_bounce_buffer_size
Clarify how the parameter gets configured and how it is used when servicing DMA mapping requests targeting indirect memory regions. Signed-off-by: Mattias Nissler <mnissler@rivosinc.com> Message-Id: <20240910213512.843130-1-mnissler@rivosinc.com> Acked-by: Peter Xu <peterx@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/pci/pci_device.h')
-rw-r--r--include/hw/pci/pci_device.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/hw/pci/pci_device.h b/include/hw/pci/pci_device.h
index 91df40f989..8eaf0d58bb 100644
--- a/include/hw/pci/pci_device.h
+++ b/include/hw/pci/pci_device.h
@@ -168,7 +168,11 @@ struct PCIDevice {
char *failover_pair_id;
uint32_t acpi_index;
- /* Maximum DMA bounce buffer size used for indirect memory map requests */
+ /*
+ * Indirect DMA region bounce buffer size as configured for the device. This
+ * is a configuration parameter that is reflected into bus_master_as when
+ * realizing the device.
+ */
uint32_t max_bounce_buffer_size;
};