numam-dpdk/drivers/net/mlx5
David Marchand b76fafb174 eal: fix IOVA mode selection as VA for PCI drivers
The incriminated commit broke the use of RTE_PCI_DRV_IOVA_AS_VA which
was intended to mean "driver only supports VA" but had been understood
as "driver supports both PA and VA" by most net drivers and used to let
dpdk processes to run as non root (which do not have access to physical
addresses on recent kernels).

The check on physical addresses actually closed the gap for those
drivers. We don't need to mark them with RTE_PCI_DRV_IOVA_AS_VA and this
flag can retain its intended meaning.
Document explicitly its meaning.

We can check that a driver requirement wrt to IOVA mode is fulfilled
before trying to probe a device.

Finally, document the heuristic used to select the IOVA mode and hope
that we won't break it again.

Fixes: 703458e19c ("bus/pci: consider only usable devices for IOVA mode")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
Tested-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
2019-07-22 17:45:52 +02:00
..
Makefile net/mlx5: remove TCF support 2019-07-05 01:52:02 +02:00
meson.build net/mlx: allow build only on Linux 2019-07-08 21:26:52 +02:00
mlx5_defs.h net/mlx5: fix max number of queues for NEON Tx 2019-05-03 18:45:23 +02:00
mlx5_devx_cmds.c net/mlx5: support Direct Rules E-Switch 2019-04-19 14:51:55 +02:00
mlx5_ethdev.c net/mlx5: fix condition for link update fallback 2019-07-05 01:52:02 +02:00
mlx5_flow_dv.c net/mlx5: support matching on ICMP/ICMP6 2019-07-08 21:26:52 +02:00
mlx5_flow_verbs.c net: add rte prefix to IP defines 2019-05-24 13:34:46 +02:00
mlx5_flow.c net/mlx5: support matching on ICMP/ICMP6 2019-07-08 21:26:52 +02:00
mlx5_flow.h net/mlx5: support matching on ICMP/ICMP6 2019-07-08 21:26:52 +02:00
mlx5_glue.c net/mlx5: support reading clock 2019-06-06 20:21:20 +09:00
mlx5_glue.h net/mlx5: support reading clock 2019-06-06 20:21:20 +09:00
mlx5_mac.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
mlx5_mp.c net/mlx5: recover secondary process Rx errors 2019-06-14 00:01:06 +09:00
mlx5_mr.c mem: add API to lock/unlock memory hotplug 2019-07-05 22:12:40 +02:00
mlx5_mr.h net/mlx5: share Memory Regions for multiport device 2019-05-03 18:45:23 +02:00
mlx5_nl.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
mlx5_prm.h net/mlx5: modify TCP header using Direct Verbs 2019-07-05 01:52:01 +02:00
mlx5_rss.c net/mlx: prefix private structure 2019-03-01 18:17:35 +01:00
mlx5_rxmode.c net/mlx: prefix private structure 2019-03-01 18:17:35 +01:00
mlx5_rxq.c net/mlx5: separate Rx queue initialization 2019-06-14 00:01:06 +09:00
mlx5_rxtx_vec_neon.h net/mlx5: handle Tx completion with error 2019-06-14 00:01:06 +09:00
mlx5_rxtx_vec_sse.h net/mlx5: handle Tx completion with error 2019-06-14 00:01:06 +09:00
mlx5_rxtx_vec.c net/mlx5: extend Rx completion with error handling 2019-06-14 00:01:06 +09:00
mlx5_rxtx_vec.h net/mlx5: revert mbuf address calculation for x86 2019-04-05 17:45:22 +02:00
mlx5_rxtx.c net/mlx5: recover secondary process Tx errors 2019-06-14 00:01:06 +09:00
mlx5_rxtx.h net/mlx5: recover secondary process Rx errors 2019-06-14 00:01:06 +09:00
mlx5_stats.c net/mlx5: fix RxQ errors stat 2019-06-06 20:21:20 +09:00
mlx5_trigger.c net/mlx5: recover secondary process Rx errors 2019-06-14 00:01:06 +09:00
mlx5_txq.c net/mlx5: fix 32-bit build 2019-06-28 20:31:49 +02:00
mlx5_utils.h net/mlx5: fix build on PPC64 2018-11-14 00:35:53 +01:00
mlx5_vlan.c net/mlx5: fix recursive inclusion of header file 2019-04-12 11:02:02 +02:00
mlx5.c eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
mlx5.h net/mlx5: remove TCF support 2019-07-05 01:52:02 +02:00
rte_pmd_mlx5_version.map