numam-dpdk/drivers/net/ixgbe
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
..
base build: warn on unused parameter 2019-06-04 00:22:50 +02:00
ixgbe_82599_bypass.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_bypass_api.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_bypass_defines.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_bypass.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
ixgbe_bypass.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_ethdev.c eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
ixgbe_ethdev.h net/ixgbevf: add full link status check option 2019-06-14 00:01:06 +09:00
ixgbe_fdir.c net/ixgbe: fix mask bits register set error for FDIR 2018-07-03 01:35:58 +02:00
ixgbe_flow.c net: move TCP flags from ethdev header 2019-07-03 12:57:30 +02:00
ixgbe_ipsec.c cryptodev: make xform key pointer constant 2019-07-19 14:15:21 +02:00
ixgbe_ipsec.h cryptodev: make xform key pointer constant 2019-07-19 14:15:21 +02:00
ixgbe_logs.h net/ixgbe: implement dynamic logging 2018-01-16 18:47:49 +01:00
ixgbe_pf.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
ixgbe_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_rxtx_vec_common.h net/ixgbe: convert to new Rx offloads API 2018-04-14 00:40:21 +02:00
ixgbe_rxtx_vec_neon.c net/ixgbe: convert to new Rx offloads API 2018-04-14 00:40:21 +02:00
ixgbe_rxtx_vec_sse.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
ixgbe_rxtx.c net/ixgbe: fix Tx prepare to set positive rte_errno 2019-06-13 23:54:30 +09:00
ixgbe_rxtx.h net/ixgbe: do not start on unsupported loopback mode 2019-03-01 18:17:36 +01:00
ixgbe_tm.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_vf_representor.c net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
Makefile net/ixgbe: add support for representor ports 2018-04-27 18:00:57 +01:00
meson.build drivers/net: use sleep delay by default for Intel NICs 2018-10-26 22:14:06 +02:00
rte_pmd_ixgbe_version.map net/ixgbe: add API to update SBP bit 2018-05-14 22:31:47 +01:00
rte_pmd_ixgbe.c remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00
rte_pmd_ixgbe.h enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00