summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@redhat.com>2019-08-02 11:54:01 +0200
committerThomas Monjalon <thomas@monjalon.net>2019-08-05 12:02:20 +0200
commitb62f3aff913daff969bb88cded19f41ed98da772 (patch)
tree40690a9d2eec6272559ebc6abaa5af753d33f2cf
parentba5d78da70dfeb23f92027cb4145066e5271c478 (diff)
downloaddpdk-b62f3aff913daff969bb88cded19f41ed98da772.zip
dpdk-b62f3aff913daff969bb88cded19f41ed98da772.tar.gz
dpdk-b62f3aff913daff969bb88cded19f41ed98da772.tar.xz
bus/pci: remove unused x86 Linux constant
This macro is unused after a previous fix. Fixes: fe822eb8c565 ("bus/pci: use IOVA DMA mask check when setting IOVA mode") Cc: stable@dpdk.org Signed-off-by: David Marchand <david.marchand@redhat.com>
-rw-r--r--drivers/bus/pci/linux/pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c
index 1d8d20d..f4fb742 100644
--- a/drivers/bus/pci/linux/pci.c
+++ b/drivers/bus/pci/linux/pci.c
@@ -503,7 +503,6 @@ pci_one_device_iommu_support_va(const struct rte_pci_device *dev)
{
#define VTD_CAP_MGAW_SHIFT 16
#define VTD_CAP_MGAW_MASK (0x3fULL << VTD_CAP_MGAW_SHIFT)
-#define X86_VA_WIDTH 47 /* From Documentation/x86/x86_64/mm.txt */
const struct rte_pci_addr *addr = &dev->addr;
char filename[PATH_MAX];
FILE *fp;