[PATCH 1/3] net/hns3: fix inconsistent lock
Thomas Monjalon
thomas at monjalon.net
Mon Sep 8 13:53:38 CEST 2025
13/08/2025 23:06, Stephen Hemminger:
> On Wed, 13 Aug 2025 15:33:15 +0800
> Dengdui Huang <huangdengdui at huawei.com> wrote:
>
> > The hns3 driver supports configuring RSS through both ops API and
> > rte_flow API. The ops API uses spink lock, while the rte_flow API uses
> > pthread mutex lock. When concurrent calls occur, issues may arise.
> > This patch replaces the lock in the flow API with spink lock.
> >
> > Fixes: 1bdcca8006e4 ("net/hns3: fix flow director lock")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Dengdui Huang <huangdengdui at huawei.com>
> > ---
>
> With that mutex removed, you can also go farther and remove all references to pthread.
This patch was (probably by mistake) in the next-net/for-main branch.
I've dropped it when pulling in main.
More information about the dev
mailing list