net/bnxt: support IOVA VA mode
authorDavide Caratti <dcaratti@redhat.com>
Tue, 12 Feb 2019 18:30:19 +0000 (19:30 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 13 Feb 2019 13:24:51 +0000 (14:24 +0100)
commit8fe6beed2f9e068c5329433f83704c9441a34a59
tree89bbfabe09126887c82253a066db96f3e16aeb61
parentbddcc1228cdb447b99ec7d245732c81c65830ca9
net/bnxt: support IOVA VA mode

Set RTE_PCI_DRV_IOVA_AS_VA in drv_flags: this allows initializing bnxt
PMD as non-root also on Linux v4.x, where /proc/self/pagemap can't be
accessed without CAP_SYS_ADMIN privileges.

Cc: stable@dpdk.org
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c