numam-dpdk/drivers/net/mlx5/linux
Rongwei Liu f956d3d4c3 net/mlx5: fix probing with secondary bonding member
Users can probe primary or secondary PCIe id when bonding is
configured.
1. -a 0a:00.0,representor=pf[0-1]vf[0-1], PMD probes 5 ports
totally: bonding device plus 4 representor ports.
2. -a 0a:00.1,representor=pf[0-1]vf[0-1], PMD only probes 2
representor ports.

Under the 2nd condition, bonding IB device doesn't have the same
PCIe id and PMD needs to check bonding relationship otherwise
probe failure.

Fixes: 6856efa54e ("net/mlx5: fix PF leak on PCI probing failure")
Cc: stable@dpdk.org

Signed-off-by: Rongwei Liu <rongweil@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2022-04-21 12:47:39 +02:00
..
meson.build remove extra blank line at EOF 2022-02-27 21:26:06 +01:00
mlx5_ethdev_os.c net/mlx5: fix link status change detection 2022-03-01 16:54:07 +01:00
mlx5_flow_os.c net/mlx5: fix errno update in shared context creation 2022-02-21 11:36:40 +01:00
mlx5_flow_os.h net/mlx5: introduce hardware steering operation 2022-02-24 22:10:15 +01:00
mlx5_mp_os.c ethdev: introduce generic dummy packet burst function 2022-02-11 21:17:34 +01:00
mlx5_os.c net/mlx5: fix probing with secondary bonding member 2022-04-21 12:47:39 +02:00
mlx5_os.h net/mlx5: fix tunneling support query 2021-10-12 15:29:34 +02:00
mlx5_socket.c net/mlx5: do not close stdin on error 2021-11-01 08:51:48 +01:00
mlx5_verbs.c net/mlx5: configure Tx queue with send on time offload 2022-02-24 13:46:56 +01:00
mlx5_verbs.h common/mlx5: add global MR cache create function 2021-10-21 15:57:24 +02:00
mlx5_vlan_os.c common/mlx5: add Netlink event helpers 2022-03-01 16:54:03 +01:00