On 11-Oct-17 11:33 AM, Jianfeng Tan wrote:
Patch 1: Use VA as IOVA if IOVA mode is enabled.
Patch 2: Enable IOVA mode for the PMDs for Intel NICs.
How to test:
$ (bind nic to vfio-pci)
$ testpmd -c 0x3 -n 4 -m 2048 --no-huge -- -i --no-numa
Jianfeng Tan (2):
eal: honor IOVA mode for no-huge case
net: enable IOVA mode for PMDs
drivers/net/e1000/em_ethdev.c | 3 ++-
drivers/net/e1000/igb_ethdev.c | 5 +++--
drivers/net/fm10k/fm10k_ethdev.c | 3 ++-
drivers/net/i40e/i40e_ethdev.c | 3 ++-
drivers/net/i40e/i40e_ethdev_vf.c | 2 +-
drivers/net/ixgbe/ixgbe_ethdev.c | 5 +++--
lib/librte_eal/linuxapp/eal/eal_memory.c | 5 ++++-
7 files changed, 17 insertions(+), 9 deletions(-)
The patchset should probably mention its dependency on IOVA patches from
Santosh.
--
Thanks,
Anatoly