numam-dpdk/drivers/net
Dmitry Kozlyuk ea823b2c51 net/mlx5: close tools socket with last device
MLX5 PMD exposes a socket for external tools to dump port state.
Socket events are listened using an interrupt source of EXT type.
The socket was closed and the interrupt callback was unregistered
at program exit, which is incorrect because DPDK could be already
shut down at this point. Move actions performed at program exit
to the moment the last MLX5 port is closed. The socket will be opened
again if later a new MLX5 device is plugged in and probed.
Also fix comments that were decisively talking
about secondary processes instead of external tools.

Fixes: e6cdc54cc0 ("net/mlx5: add socket server for external tools")
Cc: stable@dpdk.org

Reported-by: Harman Kalra <hkalra@marvell.com>
Signed-off-by: Dmitry Kozlyuk <dkozlyuk@nvidia.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
2021-10-21 10:31:53 +02:00
..
af_packet ethdev: make queue release callback optional 2021-10-06 19:16:03 +02:00
af_xdp net/af_xdp: disable secondary process support 2021-10-08 13:06:55 +02:00
ark ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
atlantic ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
avp ethdev: fix max Rx packet length 2021-10-18 19:20:20 +02:00
axgbe ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
bnx2x ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
bnxt ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
bonding ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
cnxk common/cnxk: add new PCI IDs to supported devices 2021-10-21 13:43:56 +02:00
cxgbe ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
dpaa ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
dpaa2 ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
e1000 ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
ena net/ena: update version to 2.5.0 2021-10-19 15:04:17 +02:00
enetc ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
enic ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
failsafe ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
fm10k ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
hinic ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
hns3 ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
i40e net/i40e: fix risk in descriptor read in NEON Rx 2021-10-19 13:13:55 +02:00
iavf net/iavf: support PPPoL2TPv2oUDP RSS Hash 2021-10-21 14:15:59 +02:00
ice net/ice: fix sideband queue initialization 2021-10-20 03:37:37 +02:00
igc ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
ionic ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
ipn3ke ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
ixgbe ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
kni ethdev: make queue release callback optional 2021-10-06 19:16:03 +02:00
liquidio ethdev: move MTU set check to library 2021-10-18 19:20:21 +02:00
memif ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
mlx4 ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
mlx5 net/mlx5: close tools socket with last device 2021-10-21 10:31:53 +02:00
mvneta ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
mvpp2 ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
netvsc ethdev: hide internal structures 2021-10-13 22:14:59 +02:00
nfb ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
nfp ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
ngbe ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
null ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
octeontx eventdev: hide event device related structures 2021-10-21 10:14:50 +02:00
octeontx2 net/octeontx2: use fast udata and mdata flags 2021-10-19 16:19:52 +02:00
octeontx_ep ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
pcap ethdev: make queue release callback optional 2021-10-06 19:16:03 +02:00
pfe ethdev: fix max Rx packet length 2021-10-18 19:20:20 +02:00
qede ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
ring ethdev: make queue release callback optional 2021-10-06 19:16:03 +02:00
sfc net/sfc: implement transfer proxy port callback 2021-10-18 20:56:02 +02:00
softnic net/softnic: fix memory leak of meter policy 2021-10-19 22:45:19 +02:00
szedata2 ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
tap ethdev: fix max Rx packet length 2021-10-18 19:20:20 +02:00
thunderx ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
txgbe ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
vdev_netvsc version: 21.11-rc0 2021-08-17 08:37:52 +02:00
vhost ethdev: change input parameters for Rx queue count 2021-10-13 22:14:58 +02:00
virtio ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
vmxnet3 ethdev: remove jumbo offload flag 2021-10-18 19:20:21 +02:00
meson.build net/ngbe: add build and doc infrastructure 2021-07-12 17:55:19 +02:00