> -----Original Message----- > From: dev <[email protected]> On Behalf Of Tal Shnaiderman > Sent: Thursday, January 7, 2021 5:08 AM > To: [email protected] > Cc: thomas <[email protected]>; [email protected]; > [email protected]; [email protected] > Subject: [EXTERNAL] [dpdk-dev] [PATCH v3] mlx5: split multi-threaded flows > per OS > > multi-threaded flows feature uses pthread function pthread_key_create > but for Windows the destruction option in the function is unimplemented. > > to resolve it Windows will implement destruction mechanism to cleanup > mlx5_flow_workspace object for each terminated thread. > > Linux flow will keep the current behavior. > > Signed-off-by: Tal Shnaiderman <[email protected]> > Acked-by: Matan Azrad <[email protected]> > --- > Depends-on: series-14562 ("support generic threading functions") > v2: fix style issues > v3: adjust to new API, remove nl from EOFs. > --- > --- > drivers/net/mlx5/linux/meson.build | 1 + > drivers/net/mlx5/linux/mlx5_flow_os.c | 38 +++++++ > drivers/net/mlx5/mlx5.c | 8 ++ > drivers/net/mlx5/mlx5_flow.c | 29 +----- > drivers/net/mlx5/mlx5_flow.h | 10 ++ > drivers/net/mlx5/windows/mlx5_flow_os.c | 178 > ++++++++++++++++++++++++++++++++ > 6 files changed, 240 insertions(+), 24 deletions(-)
Acked-by: Khoa To <[email protected]>

