[dpdk-dev] [PATCH] net/mlx5: fix DevX event registration timing

Raslan Darawsheh rasland at mellanox.com
Tue Oct 22 15:30:04 CEST 2019


Hi,

> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Matan Azrad
> Sent: Tuesday, October 22, 2019 10:34 AM
> To: dev at dpdk.org
> Cc: Slava Ovsiienko <viacheslavo at mellanox.com>; stable at dpdk.org
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix DevX event registration timing
> 
> The DevX counter management triggers an asynchronous event to get back
> the new counters values from the HW.
> 
> The counter management doesn't trigger 2 parallel events for the same
> pool, hence, the pool cannot be updated again in the event waiting time.
> 
> When the port is stopped, the DevX event mechanism wrongly was
> destroyed what remained all the waiting pools in waiting state forever.
> 
> As a result, the counters of the stuck pools were never updated again.
> 
> Separate the DevX interrupt installation from the dev installation and
> remove the DevX interrupt unregistration\registration from the
> stop\start operations.
> 
> Now, the DevX interrupt should be installed in probe and uninstalled in
> close.
> 
> Cc: stable at dpdk.org
> Fixes: f15db67df09c ("net/mlx5: accelerate DV flow counter query")
> 
> Signed-off-by: Matan Azrad <matan at mellanox.com>
Acked-by: Slava Ovsiienko <viacheslavo at mellanox.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list