Skip to content

fixes and enhancements to Truflow

Ajit Khaparde dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest22 patches 5 repliesIn review
  2. v420 patches 9 repliesSuperseded

Changes in v5 from the cover letter

* Split couple of patches into cleanup and code change patch
* Fixed typo in some patches
* Address review comments
* Rebased patches to latest dpdk-next-net

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22net/bnxt: add NAT support for dest IP and port combinationdrivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_act.c drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_enum.h drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_tbl.c +2 more+317 -1890 replies
2/22net/bnxt: add support for multi root capabilitydrivers/net/bnxt/bnxt.h drivers/net/bnxt/bnxt_hwrm.c drivers/net/bnxt/hsi_struct_def_dpdk.h +1 more+3523 -5590 replies
3/22net/bnxt: fix out of bounds issue in hash listdrivers/net/bnxt/tf_ulp/ulp_gen_hash.c+14 -60 replies
4/22net/bnxt: add clear on read supportdrivers/net/bnxt/tf_core/tf_msg.c drivers/net/bnxt/tf_core/tf_msg.h drivers/net/bnxt/tf_core/tf_tbl.c +2 more+41 -110 replies
5/22net/bnxt: add capability option for socket redirectdrivers/net/bnxt/tf_ulp/bnxt_ulp.c drivers/net/bnxt/tf_ulp/bnxt_ulp.h drivers/net/bnxt/tf_ulp/bnxt_ulp_flow.c +2 more+30 -100 replies
6/22net/bnxt: remove unused functionsdrivers/net/bnxt/bnxt.h drivers/net/bnxt/bnxt_ethdev.c+0 -2160 replies
7/22net/bnxt: address ISO C90 compilation errordrivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_class.c+993 -9930 replies
8/22net/bnxt: enable wildcard match for ingress flowsdrivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_enum.h drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_thor_class.c+125 -1300 replies
9/22net/bnxt: support inner IP header for GRE tunnel flowsdrivers/net/bnxt/tf_ulp/ulp_rte_parser.c drivers/net/bnxt/tf_ulp/ulp_template_struct.h+5 -40 replies
10/22net/bnxt: get TruFlow versiondrivers/net/bnxt/tf_core/tf_core.c drivers/net/bnxt/tf_core/tf_core.h drivers/net/bnxt/tf_core/tf_device.h +6 more+502 -20 replies
11/22net/bnxt: increase flow scale for Thordrivers/net/bnxt/bnxt.h drivers/net/bnxt/bnxt_cpr.c drivers/net/bnxt/bnxt_ethdev.c +4 more+24 -210 replies
12/22net/bnxt: remove devargs for stats accumulationdrivers/net/bnxt/bnxt.h drivers/net/bnxt/bnxt_ethdev.c drivers/net/bnxt/tf_ulp/bnxt_ulp.c +2 more+4 -730 replies
13/22net/bnxt: fix clang compiler warningsdrivers/net/bnxt/tf_ulp/ulp_rte_parser.c+4 -40 replies
14/22net/bnxt: update log messages in TruFlow pathdrivers/net/bnxt/tf_ulp/bnxt_ulp.c drivers/net/bnxt/tf_ulp/ulp_def_rules.c drivers/net/bnxt/tf_ulp/ulp_flow_db.c +1 more+15 -150 replies
15/22net/bnxt: add support for socket direct featuredrivers/net/bnxt/tf_ulp/bnxt_ulp.c drivers/net/bnxt/tf_ulp/bnxt_ulp_flow.c drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_enum.h +6 more+3701 -15940 replies
16/22net/bnxt: modify VF representor alloc sequencedrivers/net/bnxt/bnxt_hwrm.c drivers/net/bnxt/bnxt_hwrm.h drivers/net/bnxt/bnxt_reps.c+35 -00 replies
17/22net/bnxt: add new TruFlow API to get SRAM resourcesdrivers/net/bnxt/tf_core/tf_core.c drivers/net/bnxt/tf_core/tf_core.h drivers/net/bnxt/tf_core/tf_device.h +6 more+237 -380 replies
18/22net/bnxt: add TruFlow and AFM SRAM partitioning supportdrivers/net/bnxt/tf_core/tf_core.c drivers/net/bnxt/tf_core/tf_core.h drivers/net/bnxt/tf_core/tf_device.c +5 more+503 -1250 replies
19/22net/bnxt: add Tx TruFlow table config for P4 devicedrivers/net/bnxt/tf_core/tf_device.c drivers/net/bnxt/tf_core/tf_device_p4.c drivers/net/bnxt/tf_core/tf_device_p4.h+111 -580 replies
20/22net/bnxt: remove 2 slice wildcard entriesdrivers/net/bnxt/tf_ulp/bnxt_ulp.c+2 -20 replies
21/22net/bnxt: check mismatch of control and physical portdrivers/net/bnxt/tf_ulp/ulp_port_db.c drivers/net/bnxt/tf_ulp/ulp_port_db.h drivers/net/bnxt/tf_ulp/ulp_rte_parser.c+48 -00 replies
22/22net/bnxt: use enum for bank IDdrivers/net/bnxt/tf_core/tf_core.h drivers/net/bnxt/tf_core/tf_device.h drivers/net/bnxt/tf_core/tf_device_p58.c +1 more+47 -460 replies

Reviews trailers per patch

21 of 22 patches have a Reviewed-by or Acked-by.

PatchShahaji BhosleMike BaucomRandy SchacherAjit KhapardeFarah SmithPeter SpreadboroughKishore PadmanabhaSteve Rempe
1/22R-b R-b R-b A-b
2/22R-b R-b R-b
3/22R-b R-b R-b
4/22R-b R-b R-b
5/22R-b R-b R-b
6/22
7/22R-b R-b A-b
8/22R-b
9/22R-b R-b R-b
10/22R-b R-b R-b R-b
11/22R-b R-b
12/22R-b R-b
13/22R-b
14/22R-b R-b R-b
15/22R-b R-b A-b
16/22R-b R-b
17/22R-b A-b R-b
18/22R-b R-b R-b
19/22R-b A-b R-b
20/22R-b A-b R-b
21/22R-b R-b A-b
22/22R-b R-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 8 reviewers.

Read the v5 thread

Cover letter [dpdk-dev] [PATCH v5 00/22] fixes and enhancements to Truflow

Enhancements include:
* Scaling numbers on Thor
* Inner IP header support for GRE tunnel flows
* Enable wildcard match for ingress flows
* Add clear on read for flow stats on Thor
* Add nat support for dest IP and port combination
* Remove 2-slice WC support
* Add support for socket redirect feature
* Add new API TruFlow get SRAM resources
* Remove accumulation of stats devargs argument
* Add TruFlow and AFM SRAM partitioning support

V2:
* Compilation fixes
* Remove 2-slice WC support
* Add support for socket redirect feature
* Add new API TruFlow get SRAM resources
* Remove accumulation of stats devargs argument
* Add TruFlow and AFM SRAM partitioning support

V3:
* Added one more patch (use enum for bank ID)

V4:
* Fixed typos in patch 2/20
* Fix checkpatch warnings
* Updated commit logs
* Rebased the patches to latest dpdk-next-net

V5:
* Split couple of patches into cleanup and code change patch
* Fixed typo in some patches
* Address review comments
* Rebased patches to latest dpdk-next-net

Ajit Khaparde (2):
net/bnxt: remove unused functions net/bnxt: enable wildcard match for ingress flows

Farah Smith (1):
net/bnxt: add clear on read support

Jay Ding (5):
net/bnxt: get TruFlow version
net/bnxt: add new TruFlow API to get SRAM resources net/bnxt: add TruFlow and AFM SRAM partitioning support net/bnxt: add Tx TruFlow table config for P4 device net/bnxt: use enum for bank ID

Kishore Padmanabha (11):
net/bnxt: add NAT support for dest IP and port combination net/bnxt: add support for multi root capability net/bnxt: fix out of bounds issue in hash list net/bnxt: add capability option for socket redirect net/bnxt: address ISO C90 compilation error net/bnxt: support inner IP header for GRE tunnel flows net/bnxt: remove devargs for stats accumulation net/bnxt: update log messages in TruFlow path net/bnxt: add support for socket direct feature net/bnxt: modify VF representor alloc sequence net/bnxt: check mismatch of control and physical port

Mike Baucom (1):
net/bnxt: remove 2 slice wildcard entries

Shahaji Bhosle (2):
net/bnxt: increase flow scale for Thor
net/bnxt: fix clang compiler warnings

 drivers/net/bnxt/bnxt.h                       |   25 +-
 drivers/net/bnxt/bnxt_cpr.c                   |    2 +-
 drivers/net/bnxt/bnxt_ethdev.c                |  274 +-
 drivers/net/bnxt/bnxt_hwrm.c                  |   36 +
 drivers/net/bnxt/bnxt_hwrm.h                  |    1 +
 drivers/net/bnxt/bnxt_reps.c                  |    9 +-
 drivers/net/bnxt/hsi_struct_def_dpdk.h        | 4061 ++++++++++++++---
 drivers/net/bnxt/tf_core/tf_core.c            |  197 +
 drivers/net/bnxt/tf_core/tf_core.h            |  202 +
 drivers/net/bnxt/tf_core/tf_device.c          |   11 +-
 drivers/net/bnxt/tf_core/tf_device.h          |  102 +
 drivers/net/bnxt/tf_core/tf_device_p4.c       |  178 +-
 drivers/net/bnxt/tf_core/tf_device_p4.h       |  137 +-
 drivers/net/bnxt/tf_core/tf_device_p58.c      |  421 +-
 drivers/net/bnxt/tf_core/tf_device_p58.h      |  205 +-
 drivers/net/bnxt/tf_core/tf_msg.c             |   87 +-
 drivers/net/bnxt/tf_core/tf_msg.h             |   31 +-
 drivers/net/bnxt/tf_core/tf_rm.c              |    3 +-
 drivers/net/bnxt/tf_core/tf_sram_mgr.h        |   10 -
 drivers/net/bnxt/tf_core/tf_tbl.c             |   83 +-
 drivers/net/bnxt/tf_core/tf_tbl_sram.c        |   13 +-
 drivers/net/bnxt/tf_ulp/bnxt_ulp.c            |   59 +-
 drivers/net/bnxt/tf_ulp/bnxt_ulp.h            |    9 +-
 drivers/net/bnxt/tf_ulp/bnxt_ulp_flow.c       |   29 +-
 .../generic_templates/ulp_template_db_act.c   |  376 +-
 .../generic_templates/ulp_template_db_class.c | 1986 ++++----
 .../generic_templates/ulp_template_db_enum.h  |   91 +-
 .../generic_templates/ulp_template_db_tbl.c   | 3946 ++++++++++++----
 .../ulp_template_db_thor_act.c                |  150 +-
 .../ulp_template_db_thor_class.c              |  909 ++--
 .../ulp_template_db_wh_plus_act.c             |  336 +-
 .../ulp_template_db_wh_plus_class.c           |  222 +-
 drivers/net/bnxt/tf_ulp/ulp_def_rules.c       |    8 +-
 drivers/net/bnxt/tf_ulp/ulp_fc_mgr.c          |   12 +-
 drivers/net/bnxt/tf_ulp/ulp_flow_db.c         |    2 +-
 drivers/net/bnxt/tf_ulp/ulp_gen_hash.c        |   20 +-
 drivers/net/bnxt/tf_ulp/ulp_mark_mgr.c        |    2 +-
 drivers/net/bnxt/tf_ulp/ulp_port_db.c         |   23 +
 drivers/net/bnxt/tf_ulp/ulp_port_db.h         |   13 +
 drivers/net/bnxt/tf_ulp/ulp_rte_parser.c      |   32 +-
 drivers/net/bnxt/tf_ulp/ulp_template_struct.h |    2 +-
 41 files changed, 10250 insertions(+), 4065 deletions(-)
Signature · 1 line
2.30.1 (Apple Git-130)