> -----Original Message----- > From: dev <dev-boun...@dpdk.org> On Behalf Of Tal Shnaiderman > Sent: Thursday, January 7, 2021 5:08 AM > To: dev@dpdk.org > Cc: thomas <tho...@monjalon.net>; ma...@nvidia.com; > rasl...@nvidia.com; ophi...@nvidia.com > 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 <tal...@nvidia.com> > Acked-by: Matan Azrad <ma...@nvidia.com> > --- > 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 <k...@microsoft.com>