[dpdk-stable] [PATCH] net/mlx5: fix multiple flow table hash list

Matan Azrad matan at mellanox.com
Tue Dec 17 09:39:02 CET 2019



> From: Xiaoyu Min
> The eth devices which share one ibv device only need one hash list of flow
> table.
> 
> Currently, flow table hash list is created per each eth device whatever
> whether they share one ibv device or not.
> 
> If the devices share one ibv device, the previously created hash list will
> become dangle because the pointer point to (sh->flow_tbls) is overwritten
> by the later created hast list.
> 
> To fix this, just don't create hash list if it is already created.
> 
> Fixes: 54534725d2f3 ("net/mlx5: fix flow table hash list conversion")
> Cc: stable at dpdk.org
> 
> Reported-by: Zhike Wang <wangzhike at jd.com>
> Signed-off-by: Xiaoyu Min <jackmin at mellanox.com>
Acked-by: Matan Azrad <matan at mellanox.com>


More information about the stable mailing list