Re: [dpdk-dev] [PATCH v2] net/mlx5: close tools socket with the last device

2021-10-21 Thread Raslan Darawsheh
> ; Viacheslav Ovsiienko > > 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 close

Re: [dpdk-dev] [PATCH v2] net/mlx5: close tools socket with the last device

2021-10-14 Thread David Marchand
On Thu, Oct 14, 2021 at 10:55 AM Dmitry Kozlyuk wrote: > > 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

[dpdk-dev] [PATCH v2] net/mlx5: close tools socket with the last device

2021-10-14 Thread Dmitry Kozlyuk
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 action