Thread (5 messages) 5 messages, 3 authors, 2021-01-11

Re: [dpdk-dev] [EXTERNAL] [PATCH v3] mlx5: split multi-threaded flows per OS

From: Khoa To <hidden>
Date: 2021-01-11 20:05:49

-----Original Message-----
From: dev <redacted> On Behalf Of Tal Shnaiderman
Sent: Thursday, January 7, 2021 5:08 AM
To: dev@dpdk.org
Cc: thomas <redacted>; matan@nvidia.com;
rasland@nvidia.com; ophirmu@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 <redacted>
Acked-by: Matan Azrad <redacted>
---
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 <redacted> 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help