summaryrefslogtreecommitdiff
path: root/drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c
diff options
context:
space:
mode:
authorJerin Jacob <jerinj@marvell.com>2019-07-22 14:56:52 +0200
committerThomas Monjalon <thomas@monjalon.net>2019-07-22 17:46:32 +0200
commitd622cad892a1fc715635d137d1598053fd0b8e3a (patch)
tree1c84724656e4a22d4ca5705ab1641417f57be4b0 /drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c
parentb76fafb174d2cd5247c3573bb3d49444e195e760 (diff)
downloaddpdk-d622cad892a1fc715635d137d1598053fd0b8e3a.zip
dpdk-d622cad892a1fc715635d137d1598053fd0b8e3a.tar.gz
dpdk-d622cad892a1fc715635d137d1598053fd0b8e3a.tar.xz
bus/pci: change IOVA as VA flag name
In order to align name with other PCI driver flag such as RTE_PCI_DRV_NEED_MAPPING and to reflect its purpose, change RTE_PCI_DRV_IOVA_AS_VA flag name as RTE_PCI_DRV_NEED_IOVA_AS_VA. Signed-off-by: Jerin Jacob <jerinj@marvell.com> Signed-off-by: David Marchand <david.marchand@redhat.com>
Diffstat (limited to 'drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c')
-rw-r--r--drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c b/drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c
index 6a1b436..e398abb 100644
--- a/drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c
+++ b/drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c
@@ -427,7 +427,7 @@ otx2_dpi_rawdev_remove(struct rte_pci_device *pci_dev)
static struct rte_pci_driver rte_dpi_rawdev_pmd = {
.id_table = pci_dma_map,
- .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_IOVA_AS_VA,
+ .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_NEED_IOVA_AS_VA,
.probe = otx2_dpi_rawdev_probe,
.remove = otx2_dpi_rawdev_remove,
};