numam-dpdk/doc/guides/prog_guide
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
..
img doc: fix typo in EAL guide 2019-06-17 12:35:54 +03:00
bbdev.rst doc/guides: clean repeated words 2019-11-15 11:36:27 +01:00
bpf_lib.rst bpf/arm: add build infrastructure 2019-10-12 14:20:21 +02:00
build_app.rst mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
compressdev.rst doc: update compressdev guide 2019-07-19 14:17:11 +02:00
cryptodev_lib.rst doc/guides: clean repeated words 2019-11-15 11:36:27 +01:00
dev_kit_build_system.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
dev_kit_root_make_help.rst mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
efd_lib.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
env_abstraction_layer.rst eal/linux: remove KNI restriction on IOVA 2019-11-18 16:00:51 +01:00
event_crypto_adapter.rst doc: add notes about eventdev producer/consumer dependency 2019-03-15 06:46:50 +01:00
event_ethernet_rx_adapter.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
event_ethernet_tx_adapter.rst eventdev: add Tx flag for packets with same destination 2019-10-18 10:03:08 +02:00
event_timer_adapter.rst doc: fix internal links for older releases 2019-11-15 09:58:01 +01:00
eventdev.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
ext_app_lib_make_help.rst mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
extend_dpdk.rst mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
flow_classify_lib.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
generic_receive_offload_lib.rst doc: add GRO limitations in programmers guide 2019-01-17 22:44:06 +01:00
generic_segmentation_offload_lib.rst doc/guides: clean repeated words 2019-11-15 11:36:27 +01:00
glossary.rst mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
hash_lib.rst hash: support lock-free extendable bucket 2019-04-03 20:52:35 +02:00
index.rst build: add option to enable LTO 2019-11-08 15:17:05 +01:00
intro.rst mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
ip_fragment_reassembly_lib.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
ipsec_lib.rst ipsec: add SAD add/delete/lookup implementation 2019-10-23 16:57:06 +02:00
kernel_nic_interface.rst eal/linux: remove KNI restriction on IOVA 2019-11-18 16:00:51 +01:00
link_bonding_poll_mode_drv_lib.rst doc: fix examples in bonding guide 2019-03-21 21:09:16 +01:00
lpm6_lib.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
lpm_lib.rst doc: fix broken link in LPM guide 2019-05-04 23:39:23 +02:00
lto.rst build: add option to enable LTO 2019-11-08 15:17:05 +01:00
mbuf_lib.rst mbuf: remove control mbuf 2018-04-11 23:40:40 +02:00
member_lib.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
mempool_lib.rst doc: add a note for multi-process in mempool guide 2019-07-04 23:14:28 +02:00
metrics_lib.rst metrics: add function to deinitialise library 2019-07-16 12:45:30 +02:00
multi_proc_support.rst ipc: add warnings about correct API usage 2019-05-09 17:50:59 +02:00
overview.rst mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
packet_classif_access_ctrl.rst doc/guides: clean repeated words 2019-11-15 11:36:27 +01:00
packet_distrib_lib.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
packet_framework.rst port: add symmetric crypto 2018-10-12 19:33:02 +02:00
pdump_lib.rst pdump: remove deprecated APIs 2018-12-19 01:25:56 +01:00
perf_opt_guidelines.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
poll_mode_drv.rst doc: fix PCI whitelist typo in prog guide 2019-03-05 11:57:33 +00:00
power_man.rst doc: fix references in power management guide 2019-01-20 13:17:48 +01:00
profile_app.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
qos_framework.rst mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
rawdev.rst doc: fix a grammar mistake in rawdev guide 2019-07-08 20:21:34 +02:00
rcu_lib.rst doc: describe token and resource retention in RCU guide 2019-10-21 17:54:40 +02:00
reorder_lib.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
ring_lib.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
rte_flow.rst doc/guides: clean repeated words 2019-11-15 11:36:27 +01:00
rte_security.rst doc/guides: clean repeated words 2019-11-15 11:36:27 +01:00
service_cores.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
source_org.rst doc: remove file listings 2019-01-20 13:08:50 +01:00
stack_lib.rst stack: add lock-free implementation 2019-04-04 22:06:16 +02:00
switch_representation.rst doc: fix internal links for older releases 2019-11-15 09:58:01 +01:00
thread_safety_dpdk_functions.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
timer_lib.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
traffic_management.rst doc: fix spelling reported by aspell in guides 2019-05-03 00:37:13 +02:00
traffic_metering_and_policing.rst ethdev: rename folder to library name 2018-04-27 18:01:00 +01:00
vhost_lib.rst vhost: improve performance by supporting large buffer 2019-10-23 16:43:09 +02:00
writing_efficient_code.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00