vfio: do not needlessly check for IOVA mode
authorAnatoly Burakov <anatoly.burakov@intel.com>
Wed, 4 Apr 2018 14:40:47 +0000 (15:40 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 11 Apr 2018 00:18:19 +0000 (02:18 +0200)
commitbef5a2d629d536a82c81c02b84684da828c0e37f
tree81c3d8dc9e12bdbf71a2441ad07dcdcd6b56e64e
parent634d549c9c34385b86b1ca4d422adcc20c696517
vfio: do not needlessly check for IOVA mode

We already set IOVA addresses of memsegs and memzones to VA
address during initialization, so we don't need to check
whether we're in RTE_IOVA_VA mode anywhere else.

Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
lib/librte_eal/linuxapp/eal/eal_vfio.c