numam-dpdk/drivers/net/mlx5
Adrien Mazarguil 26c08b979d net/mlx5: add port representor awareness
The current PCI probing method is not aware of Verbs port representors,
which appear as standard Verbs devices bound to the same PCI address and
cannot be distinguished.

Problem is that more often than not, the wrong Verbs device is used,
resulting in unexpected traffic.

This patch makes the driver discard representors to only use the master
device. If unable to identify it (e.g. kernel drivers not recent enough),
either:

- There is only one matching device which isn't identified as a
  representor, in that case use it.
- Otherwise log an error and do not probe the device.

(Patch based on prior work from Yuanhan Liu)

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Reviewed-by: Xueming Li <xuemingl@mellanox.com>
2018-07-11 15:37:14 +02:00
..
Makefile net/mlx5: add port representor awareness 2018-07-11 15:37:14 +02:00
mlx5_defs.h net/mlx5: increase number of strides 2018-07-03 01:35:58 +02:00
mlx5_ethdev.c net/mlx5: drop useless support for several Verbs ports 2018-07-11 15:36:55 +02:00
mlx5_flow.c net/mlx5: fix error number handling 2018-07-03 01:35:57 +02:00
mlx5_glue.c net/mlx5: add a function to rdma-core glue 2018-05-14 22:31:52 +01:00
mlx5_glue.h net/mlx5: add a function to rdma-core glue 2018-05-14 22:31:52 +01:00
mlx5_mac.c net/mlx5: implement multicast add list devop 2018-04-27 17:34:43 +01:00
mlx5_mr.c net/mlx5: clean-up developer logs 2018-07-03 01:35:57 +02:00
mlx5_mr.h net/mlx5: clean-up developer logs 2018-07-03 01:35:57 +02:00
mlx5_nl.c net/mlx5: add port representor awareness 2018-07-11 15:37:14 +02:00
mlx5_prm.h net/mlx5: add new fields in Rx completion entry 2018-07-03 01:35:58 +02:00
mlx5_rss.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx5_rxmode.c net/mlx5: use Netlink to enable promisc/allmulti mode 2018-04-14 00:41:44 +02:00
mlx5_rxq.c ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
mlx5_rxtx_vec_neon.h net/mlx5: fix Rx buffer replenishment threshold 2018-07-03 01:35:58 +02:00
mlx5_rxtx_vec_sse.h net/mlx5: fix Rx buffer replenishment threshold 2018-07-03 01:35:58 +02:00
mlx5_rxtx_vec.c net/mlx5: add Multi-Packet Rx support 2018-05-14 22:31:52 +01:00
mlx5_rxtx_vec.h net/mlx5: fix Rx buffer replenishment threshold 2018-07-03 01:35:58 +02:00
mlx5_rxtx.c net/mlx5: use stride index in Rx completion entry 2018-07-03 01:35:58 +02:00
mlx5_rxtx.h net/mlx5: use stride index in Rx completion entry 2018-07-03 01:35:58 +02:00
mlx5_socket.c net/mlx5: fix socket connection return value 2018-05-14 22:31:48 +01:00
mlx5_stats.c net/mlx5: fix count in xstats 2018-05-23 00:35:01 +02:00
mlx5_trigger.c net/mlx5: clean-up developer logs 2018-07-03 01:35:57 +02:00
mlx5_txq.c net/mlx5: drop useless support for several Verbs ports 2018-07-11 15:36:55 +02:00
mlx5_utils.h net/mlx5: add hardware flow debug dump 2018-04-27 18:00:56 +01:00
mlx5_vlan.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx5.c net/mlx5: add port representor awareness 2018-07-11 15:37:14 +02:00
mlx5.h net/mlx5: add port representor awareness 2018-07-11 15:37:14 +02:00
rte_pmd_mlx5_version.map mlx5: introduce new driver for Mellanox ConnectX-4 adapters 2015-10-30 22:03:42 +01:00