numam-dpdk/lib/librte_kni
Vamsi Attunuru a0dede62a5 eal/linux: remove KNI restriction on IOVA
Now that KNI supports VA (with kernel versions starting 4.6.0), we can
accept IOVA as VA, but KNI must be configured for this.
Pass iova_mode when creating KNI netdevs.

So far, IOVA detection policy forced IOVA as PA when KNI is loaded,
whatever the buses IOVA requirements were.

We can now use IOVA as VA, but this comes with a cost in KNI.
When no constraint is expressed by the buses, keep the current behavior
of choosing PA.

Note: this change supposes that dpdk is built on the same kernel than
the target system kernel; no objection has been expressed on this topic.

Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>
Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
2019-11-18 16:00:51 +01:00
..
Makefile lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
meson.build lib: add reasons for components being disabled 2019-07-02 23:21:05 +02:00
rte_kni_fifo.h kni: fix kernel crash with multi-segments 2019-07-15 22:48:20 +02:00
rte_kni_version.map kni: add function to set link state on kernel interface 2018-10-26 19:46:15 +02:00
rte_kni.c eal/linux: remove KNI restriction on IOVA 2019-11-18 16:00:51 +01:00
rte_kni.h kni: add ability to set min/max MTU 2019-10-27 11:07:43 +01:00