[dpdk-dev] [PATCH 2/4] net/mlx5: fix tunnel offload hub multi-thread protection

Slava Ovsiienko viacheslavo at nvidia.com
Wed Nov 11 09:51:22 CET 2020


> -----Original Message-----
> From: Gregory Etelson <getelson at nvidia.com>
> Sent: Wednesday, November 11, 2020 9:14
> To: dev at dpdk.org
> Cc: Gregory Etelson <getelson at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Raslan Darawsheh <rasland at nvidia.com>; Shahaf
> Shuler <shahafs at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>;
> Suanming Mou <suanmingm at nvidia.com>
> Subject: [PATCH 2/4] net/mlx5: fix tunnel offload hub multi-thread protection
> 
> The original patch was removing active tunnel offload objects from a tunnels
> db list. That action was leading to a PMD crash.
> 
> Current patch isolates tunnels db list into a separate API. That API manages MT
> protection of the tunnel offload db.
> 
> Fixes: e4f5880 ("net/mlx5: make tunnel hub list thread safe")
> 
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>


More information about the dev mailing list