numam-dpdk/drivers/net/bnxt
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
..
bnxt_cpr.c net/bnxt: use configured MTU during load 2019-06-14 00:01:06 +09:00
bnxt_cpr.h net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_ethdev.c eal: fix IOVA mode selection as VA for PCI drivers 2019-07-22 17:45:52 +02:00
bnxt_filter.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
bnxt_filter.h net/bnxt: support redirecting tunnel packets to VF 2019-06-14 00:01:06 +09:00
bnxt_flow.c net/bnxt: support redirecting tunnel packets to VF 2019-06-14 00:01:06 +09:00
bnxt_hwrm.c net/bnxt: use configured MTU during load 2019-06-14 00:01:06 +09:00
bnxt_hwrm.h net/bnxt: use configured MTU during load 2019-06-14 00:01:06 +09:00
bnxt_irq.c net/bnxt: check for null completion ring doorbell 2019-06-14 00:01:06 +09:00
bnxt_irq.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_nvm_defs.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_ring.c net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_ring.h net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_rxq.c net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_rxq.h net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_rxr.c net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_rxr.h net/bnxt: refactor doorbell handling 2019-06-13 23:54:29 +09:00
bnxt_rxtx_vec_sse.c net/bnxt: refactor doorbell handling 2019-06-13 23:54:29 +09:00
bnxt_stats.c net/bnxt: fix xstats 2019-06-14 00:01:06 +09:00
bnxt_stats.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_txq.c net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_txq.h net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_txr.c mbuf: clarify outer offsets for non-tunnel packets 2019-07-01 17:15:01 +02:00
bnxt_txr.h net/bnxt: refactor doorbell handling 2019-06-13 23:54:29 +09:00
bnxt_util.c net/bnxt: move function check zero bytes 2018-07-03 01:35:58 +02:00
bnxt_util.h net/bnxt: move function check zero bytes 2018-07-03 01:35:58 +02:00
bnxt_vnic.c net/bnxt: enable RSS for thor-based controllers 2019-06-13 23:54:30 +09:00
bnxt_vnic.h net/bnxt: enable RSS for thor-based controllers 2019-06-13 23:54:30 +09:00
bnxt.h net/bnxt: support redirecting tunnel packets to VF 2019-06-14 00:01:06 +09:00
hsi_struct_def_dpdk.h net/bnxt: update HWRM API to version 1.10.0.74 2019-06-13 23:54:28 +09:00
Makefile net/bnxt: implement SSE vector mode 2019-06-13 23:37:58 +09:00
meson.build net/bnxt: implement SSE vector mode 2019-06-13 23:37:58 +09:00
rte_pmd_bnxt_version.map net/bnxt: fix automatic clearing of VF stats 2017-07-06 15:00:57 +02:00
rte_pmd_bnxt.c net/bnxt: remove unnecessary cast 2019-06-13 23:54:29 +09:00
rte_pmd_bnxt.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00