[dpdk-dev] [PATCH] net/mlx5: fix memory event callback list

Raslan Darawsheh rasland at mellanox.com
Tue Aug 6 18:05:23 CEST 2019


Hi,
> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Viacheslav Ovsiienko
> Sent: Tuesday, August 6, 2019 6:01 PM
> To: dev at dpdk.org
> Cc: Yongseok Koh <yskoh at mellanox.com>; Shahaf Shuler
> <shahafs at mellanox.com>; stable at dpdk.org
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix memory event callback list
> 
> The shared Infiniband device context should be included into memory event
> callback list only once on context creation, and removed from the list only
> once on context destroying.
> Multiple insertions of the same object caused the infinite loop on the list
> processing.
> 
> Fixes: ccb3815346e6 ("net/mlx5: update memory event callback for shared
> context")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
> ---
>  drivers/net/mlx5/mlx5.c | 21 +++++++++++----------
>  1 file changed, 11 insertions(+), 10 deletions(-)
> 

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list