net/mlx5: make counter thread safe
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 1 replyIn review
- v16 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Optimize the fallback non-batch counter memory.
- Add MLX5_ prefix to counter macro.
- Rebase on top of the latest code.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | net/mlx5: locate aging pools in the general containerdrivers/ drivers/ drivers/ +2 more | +56 | 0 replies | |
| 2/8 | net/mlx5: optimize shared counter memorydrivers/ drivers/ drivers/ | +93 | 0 replies | |
| 3/8 | net/mlx5: remove single counter containerdrivers/ drivers/ drivers/ +4 more | +258 | 0 replies | |
| 4/8 | net/mlx5: synchronize flow counter pool creationdrivers/ drivers/ drivers/ +3 more | +177 | 0 replies | |
| 5/8 | net/mlx5: make three level table thread safedrivers/ drivers/ | +224 | 0 replies | |
| 6/8 | net/mlx5: make shared counters thread safedrivers/ drivers/ drivers/ | +73 | 0 replies | |
| 7/8 | net/mlx5: rename flow counter macrodrivers/ drivers/ drivers/ | +17 | 0 replies | |
| 8/8 | net/mlx5: optimize counter extend memorydrivers/ drivers/ drivers/ +3 more | +100 | 0 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Matan Azrad |
|---|---|
| 1/8 | A-b |
| 2/8 | A-b |
| 3/8 | A-b |
| 4/8 | A-b |
| 5/8 | A-b |
| 6/8 | A-b |
| 7/8 | A-b |
| 8/8 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dpdk-dev] [PATCH v2 0/8] net/mlx5: make counter thread safe
The mlx5 PMD is going to support multiple-thread flow operations. This patchset makes the counter action to be thread safe.
Suanming Mou (8):
net/mlx5: locate aging pools in the general container net/mlx5: optimize shared counter memory net/mlx5: remove single counter container net/mlx5: synchronize flow counter pool creation net/mlx5: make three level table thread safe net/mlx5: make shared counters thread safe net/mlx5: rename flow counter macro net/mlx5: optimize counter extend memory
--
v2:
- Optimize the fallback non-batch counter memory.
- Add MLX5_ prefix to counter macro.
- Rebase on top of the latest code.
--
drivers/net/mlx5/linux/mlx5_os.c | 53 ++- drivers/net/mlx5/mlx5.c | 51 ++- drivers/net/mlx5/mlx5.h | 146 ++++---- drivers/net/mlx5/mlx5_flow.c | 183 ++++++---- drivers/net/mlx5/mlx5_flow.h | 1 + drivers/net/mlx5/mlx5_flow_dv.c | 706 ++++++++++++++----------------------- drivers/net/mlx5/mlx5_flow_verbs.c | 130 ++++--- drivers/net/mlx5/mlx5_utils.c | 191 ++++++++-- drivers/net/mlx5/mlx5_utils.h | 81 ++++- 9 files changed, 824 insertions(+), 718 deletions(-)
Signature · 1 line
1.8.3.1