summaryrefslogtreecommitdiff
path: root/drivers/net/octeontx2/otx2_ethdev.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/net/octeontx2/otx2_ethdev.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/net/octeontx2/otx2_ethdev.c')
-rw-r--r--drivers/net/octeontx2/otx2_ethdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/octeontx2/otx2_ethdev.c b/drivers/net/octeontx2/otx2_ethdev.c
index 5ec5551..7b91f6b 100644
--- a/drivers/net/octeontx2/otx2_ethdev.c
+++ b/drivers/net/octeontx2/otx2_ethdev.c
@@ -2001,7 +2001,7 @@ static const struct rte_pci_id pci_nix_map[] = {
static struct rte_pci_driver pci_nix = {
.id_table = pci_nix_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 |
RTE_PCI_DRV_INTR_LSC,
.probe = nix_probe,
.remove = nix_remove,