numam-dpdk/drivers/net
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
..
af_packet net/af_packet: set default block size to page size 2019-07-05 01:52:01 +02:00
af_xdp net/af_xdp: correct XDP frame size 2019-07-08 21:26:52 +02:00
ark drivers/net: fix double free on init failure 2019-06-28 20:31:49 +02:00
atlantic eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
avp drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
axgbe net: deinline non-critical ethernet functions 2019-07-08 21:26:52 +02:00
bnx2x drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
bnxt eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
bonding net/bonding: use new ethernet address parser 2019-07-08 21:26:52 +02:00
cxgbe net/cxgbe: remove unnecessary cast 2019-06-13 23:54:29 +09:00
dpaa net/dpaa: support interface init for multi-process 2019-07-07 23:13:25 +02:00
dpaa2 drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
e1000 eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
ena net/ena: fix assigning NUMA node to IO queue 2019-06-13 23:54:30 +09:00
enetc drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
enic eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
failsafe net/failsafe: use new ethernet address parser 2019-07-08 21:26:52 +02:00
fm10k eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
hinic net/hinic: add RSS stats and promiscuous ops 2019-06-28 20:31:49 +02:00
i40e eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
iavf eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
ice eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
ifc drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
ipn3ke net/ipn3ke: implement statistics 2019-07-08 21:26:52 +02:00
ixgbe eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
kni drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
liquidio net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
memif net/memif: use new ethernet address parser 2019-07-08 21:26:52 +02:00
mlx4 eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
mlx5 eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
mvneta net/mvneta: remove resources when port is closed 2019-07-08 21:26:52 +02:00
mvpp2 drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
netvsc net/netvsc: fix definition of offload values 2019-07-05 01:52:01 +02:00
nfb net/nfb: support Silicom Mango card 2019-07-03 12:57:30 +02:00
nfp eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
null net/null: fix RxQ errors stat 2019-06-06 20:21:20 +09:00
octeontx net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
octeontx2 eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
pcap drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
qede eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
ring net/ring: fix RxQ errors stat 2019-06-06 20:21:20 +09:00
sfc net/sfc: release port upon close 2019-07-05 01:52:01 +02:00
softnic net/softnic: add config flexibility to TM 2019-07-22 15:41:50 +02:00
szedata2 net/szedata2: support Silicom Mango card 2019-07-03 12:57:30 +02:00
tap drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
thunderx drivers/net: fix double free on init failure 2019-06-28 20:31:49 +02:00
vdev_netvsc net/vdev_netvsc: use new ethernet address parser 2019-07-08 21:26:52 +02:00
vhost drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
virtio net/virtio: use new ethernet address parser 2019-07-08 21:26:52 +02:00
vmxnet3 net/vmxnet3: fix Tx prepare to set positive rte_errno 2019-06-13 23:54:30 +09:00
Makefile net/octeontx2: add build and doc infrastructure 2019-07-05 01:52:01 +02:00
meson.build net/octeontx2: add build and doc infrastructure 2019-07-05 01:52:01 +02:00