net/mlx5/hws: support range and partial hash matching
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest16 patches 2 repliesIn review
- v116 patches 0 repliesSuperseded
Changes in v2 from the cover letter
-Fix missed checkpatch comments
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | net/mlx5/hws: support synchronous draindrivers/ drivers/ drivers/ +2 more | +28 | 0 replies | |
| 2/16 | net/mlx5/hws: matcher remove AT and MT limitationdrivers/ drivers/ drivers/ +1 more | +78 | 0 replies | |
| 3/16 | net/mlx5/hws: support GTA WQE write using FW commanddrivers/ drivers/ drivers/ | +86 | 0 replies | |
| 4/16 | net/mlx5/hws: add capability query for gen wqe commanddrivers/ drivers/ drivers/ | +19 | 0 replies | |
| 5/16 | net/mlx5/hws: align RTC create command with PRM formatdrivers/ drivers/ drivers/ +1 more | +40 | 0 replies | |
| 6/16 | net/mlx5/hws: add send FW match STE using gen WQEdrivers/ drivers/ | +140 | 0 replies | |
| 7/16 | net/mlx5/hws: add send FW range STE WQEdrivers/ drivers/ | +22 | 0 replies | |
| 8/16 | net/mlx5/hws: move matcher size check to functiondrivers/ | +27 | 0 replies | |
| 9/16 | net/mlx5/hws: support range matchdrivers/ drivers/ | +72 | 0 replies | |
| 10/16 | net/mlx5/hws: redesign definer createdrivers/ drivers/ drivers/ +2 more | +230 | 0 replies | |
| 11/16 | net/mlx5/hws: support partial hashdrivers/ drivers/ drivers/ +1 more | +181 | 0 replies | |
| 12/16 | net/mlx5/hws: add range definer creation supportdrivers/ drivers/ drivers/ +1 more | +281 | 0 replies | |
| 13/16 | net/mlx5/hws: add FW WQE rule creation logicdrivers/ drivers/ drivers/ | +180 | 0 replies | |
| 14/16 | net/mlx5/hws: add debug dump support for range and hashdrivers/ drivers/ | +29 | 0 replies | |
| 15/16 | net/mlx5/hws: rename pattern cache objectdrivers/ drivers/ | +14 | 0 replies | |
| 16/16 | net/mlx5/hws: cache definer for reusedrivers/ drivers/ drivers/ +1 more | +130 | 0 replies |
Reviews trailers per patch
None of the 16 patches has a Reviewed-by or Acked-by.
| Patch | Matan Azrad |
|---|---|
| Series | Series-acked-by |
| 1/16 | |
| 2/16 | |
| 3/16 | |
| 4/16 | |
| 5/16 | |
| 6/16 | |
| 7/16 | |
| 8/16 | |
| 9/16 | |
| 10/16 | |
| 11/16 | |
| 12/16 | |
| 13/16 | |
| 14/16 | |
| 15/16 | |
| 16/16 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [v2 00/16] net/mlx5/hws: support range and partial hash matching
ConnectX and BlueField devices which support HWS are capable of performing advanced match, range-match and hashing operations on packet headers. This patch-set introduces support for (1) range matching - allows combining range and exact match over provided item fields using spec, last and mask. A useful example for Range and exact match is matching exact IP and port range. This series also introduces (2) partial hash, which allows using the same matcher and performing partial hashing in case of multiple match templates are provided. The matcher create code finds the union and intersection fields to split the hash and match in a way the HW can support. This increases the match templates combinations possible although it may limit the maximum PPS. Since (1) and (2) are not fully support on current HW the implementation is done on top of a HW like FW API using WQEs.
v2:
-Fix missed checkpatch comments
Alex Vesker (16):
net/mlx5/hws: support synchronous drain net/mlx5/hws: matcher remove AT and MT limitation net/mlx5/hws: support GTA WQE write using FW command net/mlx5/hws: add capability query for gen wqe command net/mlx5/hws: align RTC create command with PRM format net/mlx5/hws: add send FW match STE using gen WQE net/mlx5/hws: add send FW range STE WQE net/mlx5/hws: move matcher size check to function net/mlx5/hws: support range match net/mlx5/hws: redesign definer create net/mlx5/hws: support partial hash net/mlx5/hws: add range definer creation support net/mlx5/hws: add FW WQE rule creation logic net/mlx5/hws: add debug dump support for range and hash net/mlx5/hws: rename pattern cache object net/mlx5/hws: cache definer for reuse
drivers/common/mlx5/mlx5_prm.h | 53 +- drivers/net/mlx5/hws/mlx5dr.h | 6 +- drivers/net/mlx5/hws/mlx5dr_cmd.c | 72 ++- drivers/net/mlx5/hws/mlx5dr_cmd.h | 27 +- drivers/net/mlx5/hws/mlx5dr_context.c | 12 +- drivers/net/mlx5/hws/mlx5dr_context.h | 1 + drivers/net/mlx5/hws/mlx5dr_debug.c | 41 +- drivers/net/mlx5/hws/mlx5dr_debug.h | 4 +- drivers/net/mlx5/hws/mlx5dr_definer.c | 750 +++++++++++++++++++++---- drivers/net/mlx5/hws/mlx5dr_definer.h | 44 +- drivers/net/mlx5/hws/mlx5dr_internal.h | 2 +- drivers/net/mlx5/hws/mlx5dr_matcher.c | 279 ++++++--- drivers/net/mlx5/hws/mlx5dr_matcher.h | 43 +- drivers/net/mlx5/hws/mlx5dr_pat_arg.c | 49 +- drivers/net/mlx5/hws/mlx5dr_pat_arg.h | 6 +- drivers/net/mlx5/hws/mlx5dr_rule.c | 193 ++++++- drivers/net/mlx5/hws/mlx5dr_rule.h | 2 + drivers/net/mlx5/hws/mlx5dr_send.c | 169 +++++- drivers/net/mlx5/hws/mlx5dr_send.h | 24 +- drivers/net/mlx5/mlx5_flow_hw.c | 2 +- 20 files changed, 1475 insertions(+), 304 deletions(-)
Signature · 1 line
2.18.1