Skip to content

mlx5 Hardware Steering part 2

Tariq Toukan netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 2 repliesApplied 15/15

Patches in v1 All 15 applied

#Subject and filesSizeRepliesApplied
1/15net/mlx5: HWS, remove the use of duplicated structsdrivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.c drivers/net/ethernet/mellanox/mlx5/core/steering/hws/prm.h+10 -520 repliesApplied
2/15net/mlx5: HWS, remove implementation of unused FW commandsdrivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.c drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.h+0 -780 repliesApplied
3/15net/mlx5: HWS, denote how refcounts are protecteddrivers/net/ethernet/mellanox/mlx5/core/steering/hws/action.h drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.h drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.h +2 more+7 -62 repliesApplied
4/15net/mlx5: HWS, simplify allocations as we support only FDBdrivers/net/ethernet/mellanox/mlx5/core/steering/hws/action.c drivers/net/ethernet/mellanox/mlx5/core/steering/hws/action.h drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.c +6 more+87 -1120 repliesApplied
5/15net/mlx5: HWS, add error message on failure to move rulesdrivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc.c+9 -20 repliesApplied
6/15net/mlx5: HWS, change error flow on matcher disconnectdrivers/net/ethernet/mellanox/mlx5/core/steering/hws/matcher.c+8 -160 repliesApplied
7/15net/mlx5: HWS, remove wrong deletion of the miss table listdrivers/net/ethernet/mellanox/mlx5/core/steering/hws/table.c+0 -60 repliesApplied
8/15net/mlx5: HWS, reduce memory consumption of a matcher structdrivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc.h drivers/net/ethernet/mellanox/mlx5/core/steering/hws/matcher.c+11 -50 repliesApplied
9/15net/mlx5: HWS, num_of_rules counter on matcher should be atomicdrivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc.c drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc.h+12 -70 repliesApplied
10/15net/mlx5: HWS, separate SQ that HWS uses from the usual traffic SQsdrivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c+1 -00 repliesApplied
11/15net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offsetdrivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c+1 -10 repliesApplied
12/15net/mlx5: HWS, handle returned error value in pool allocdrivers/net/ethernet/mellanox/mlx5/core/steering/hws/pool.c+2 -20 repliesApplied
13/15net/mlx5: HWS, use the right size when writing arg datadrivers/net/ethernet/mellanox/mlx5/core/steering/hws/pat_arg.c+1 -10 repliesApplied
14/15net/mlx5: HWS, support flow sampler destinationdrivers/net/ethernet/mellanox/mlx5/core/steering/hws/action.c drivers/net/ethernet/mellanox/mlx5/core/steering/hws/action.h drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.c+60 -10 repliesApplied
15/15net/mlx5: HWS, set timeout on polling for completiondrivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc.c drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc.h+18 -100 repliesApplied

Reviews trailers per patch

All 15 patches have a Reviewed-by or Acked-by.

PatchItamar GozlanMark BlochErez Shitrit
1/15R-b R-b
2/15R-b R-b
3/15R-b R-b
4/15R-b R-b
5/15R-b R-b
6/15R-b
7/15R-b R-b
8/15R-b R-b
9/15R-b R-b
10/15R-b R-b
11/15R-b R-b
12/15R-b
13/15R-b R-b
14/15R-b
15/15R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH net-next 00/15] mlx5 Hardware Steering part 2

Hi,

Happy new year!

This series contain HWS code cleanups, enhancements, bug fixes, and additions. Note that some of these patches are fixing bugs in existing code, but we submit them without 'Fixes' tag to avoid the unnecessary burden for stable releases, as HWS still couldn't be enabled.

Patches 1-5:
HWS, various code cleanups and enhancements

Patches 6-14:
HWS, various bug fixes and additions

Patch 15:
HWS, setting timeout on polling

Regards,
Tariq

Vlad Dogaru (2):
net/mlx5: HWS, handle returned error value in pool alloc net/mlx5: HWS, support flow sampler destination

Yevgeny Kliteynik (13):
net/mlx5: HWS, remove the use of duplicated structs net/mlx5: HWS, remove implementation of unused FW commands net/mlx5: HWS, denote how refcounts are protected net/mlx5: HWS, simplify allocations as we support only FDB net/mlx5: HWS, add error message on failure to move rules net/mlx5: HWS, change error flow on matcher disconnect net/mlx5: HWS, remove wrong deletion of the miss table list net/mlx5: HWS, reduce memory consumption of a matcher struct net/mlx5: HWS, num_of_rules counter on matcher should be atomic net/mlx5: HWS, separate SQ that HWS uses from the usual traffic SQs net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset net/mlx5: HWS, use the right size when writing arg data net/mlx5: HWS, set timeout on polling for completion

 .../mellanox/mlx5/core/steering/hws/action.c  | 159 +++++++++++-------
 .../mellanox/mlx5/core/steering/hws/action.h  |   9 +-
 .../mellanox/mlx5/core/steering/hws/bwc.c     |  54 ++++--
 .../mellanox/mlx5/core/steering/hws/bwc.h     |  12 +-
 .../mellanox/mlx5/core/steering/hws/cmd.c     |  95 ++---------
 .../mellanox/mlx5/core/steering/hws/cmd.h     |  13 +-
 .../mellanox/mlx5/core/steering/hws/context.c |  29 +---
 .../mellanox/mlx5/core/steering/hws/context.h |   4 +-
 .../mellanox/mlx5/core/steering/hws/debug.c   |  36 ++--
 .../mellanox/mlx5/core/steering/hws/definer.c |   2 +-
 .../mellanox/mlx5/core/steering/hws/definer.h |   2 +-
 .../mellanox/mlx5/core/steering/hws/matcher.c |  36 ++--
 .../mellanox/mlx5/core/steering/hws/pat_arg.c |   2 +-
 .../mellanox/mlx5/core/steering/hws/pat_arg.h |   2 +-
 .../mellanox/mlx5/core/steering/hws/pool.c    |   4 +-
 .../mellanox/mlx5/core/steering/hws/prm.h     |  42 -----
 .../mellanox/mlx5/core/steering/hws/rule.c    |   2 +-
 .../mellanox/mlx5/core/steering/hws/send.c    |   1 +
 .../mellanox/mlx5/core/steering/hws/table.c   |  22 +--
 19 files changed, 227 insertions(+), 299 deletions(-)

base-commit: 9268abe611b09edc975aa27e6ce829f629352ff4

Signature · 1 line
2.45.0