diff options
author | Yu Zhao <yu.zhao@intel.com> | 2009-05-18 01:51:32 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-05-18 06:25:54 -0400 |
commit | 302b4215daa0a704c843da40fd2529e5757a72da (patch) | |
tree | 1bc40108fceafd3fbc9faee38c971fa94d560b13 /include/linux/pci.h | |
parent | dd7264355a203c3456dbba04db471947d3b55e7e (diff) |
PCI: support the ATS capability
The PCIe ATS capability makes the Endpoint be able to request the
DMA address translation from the IOMMU and cache the translation
in the device side, thus alleviate IOMMU pressure and improve the
hardware performance in the I/O virtualization environment.
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 72698d89e767..bd3e4a798c43 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -188,6 +188,7 @@ struct pci_cap_saved_state { | |||
188 | struct pcie_link_state; | 188 | struct pcie_link_state; |
189 | struct pci_vpd; | 189 | struct pci_vpd; |
190 | struct pci_sriov; | 190 | struct pci_sriov; |
191 | struct pci_ats; | ||
191 | 192 | ||
192 | /* | 193 | /* |
193 | * The pci_dev structure is used to describe PCI devices. | 194 | * The pci_dev structure is used to describe PCI devices. |
@@ -285,6 +286,7 @@ struct pci_dev { | |||
285 | struct pci_sriov *sriov; /* SR-IOV capability related */ | 286 | struct pci_sriov *sriov; /* SR-IOV capability related */ |
286 | struct pci_dev *physfn; /* the PF this VF is associated with */ | 287 | struct pci_dev *physfn; /* the PF this VF is associated with */ |
287 | }; | 288 | }; |
289 | struct pci_ats *ats; /* Address Translation Service */ | ||
288 | #endif | 290 | #endif |
289 | }; | 291 | }; |
290 | 292 | ||