Hi, > -----Original Message----- > From: dev <[email protected]> On Behalf Of Dmitry Kozlyuk > Sent: Thursday, October 14, 2021 11:55 AM > To: [email protected] > Cc: David Marchand <[email protected]>; Raslan Darawsheh > <[email protected]>; Xueming Li <[email protected]>; > [email protected]; Harman Kalra <[email protected]>; NBU-Contact- > Thomas Monjalon <[email protected]>; Matan Azrad > <[email protected]>; Viacheslav Ovsiienko > <[email protected]> > Subject: [dpdk-dev] [PATCH v2] net/mlx5: close tools socket with the 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 deceisively talking about secondary processes > instead of external tools. > > Fixes: e6cdc54cc0ef ("net/mlx5: add socket server for external tools") > Cc: Xueming Li <[email protected]> > Cc: [email protected] > > Reported-by: Harman Kalra <[email protected]> > Signed-off-by: Dmitry Kozlyuk <[email protected]> > Acked-by: Thomas Monjalon <[email protected]> > --- > v2: add Fixes tag >
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

