Skip to content

bnxt fixes and enhancements

Ajit Khaparde dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest15 patches 1 replyIn review
  2. v311 patches 3 repliesSuperseded
  3. v211 patches 5 repliesSuperseded

Changes in v4 from the cover letter

- Addressed review comments.
- Added verbose commit messages.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15net/bnxt: add stingray support to core layerdrivers/net/bnxt/hcapi/hcapi_cfa.h drivers/net/bnxt/tf_core/cfa_resource_types.h drivers/net/bnxt/tf_core/tf_core.c +6 more+197 -800 replies
2/15net/bnxt: support two table scopesdrivers/net/bnxt/tf_core/tf_core.c drivers/net/bnxt/tf_core/tf_core.h drivers/net/bnxt/tf_core/tf_device.h +9 more+326 -1760 replies
3/15net/bnxt: add table scope to PF Mappingdrivers/net/bnxt/tf_core/tf_device.h drivers/net/bnxt/tf_core/tf_device_p4.c drivers/net/bnxt/tf_core/tf_em_common.c +4 more+62 -100 replies
4/15net/bnxt: update ULP resource countsdrivers/net/bnxt/tf_core/tf_session.h drivers/net/bnxt/tf_ulp/bnxt_ulp.c+28 -280 replies
5/15net/bnxt: fix flow query countdrivers/net/bnxt/tf_ulp/ulp_fc_mgr.c+27 -240 replies
6/15net/bnxt: add hierarchical flow countersdrivers/net/bnxt/tf_ulp/ulp_fc_mgr.c drivers/net/bnxt/tf_ulp/ulp_fc_mgr.h drivers/net/bnxt/tf_ulp/ulp_flow_db.c +2 more+447 -930 replies
7/15net/bnxt: modify HWRM command to create repsdoc/guides/rel_notes/release_20_11.rst drivers/net/bnxt/bnxt.h drivers/net/bnxt/bnxt_ethdev.c +3 more+22 -670 replies
8/15net/bnxt: add mapper support for wildcard TCAMdrivers/net/bnxt/tf_ulp/ulp_mapper.c drivers/net/bnxt/tf_ulp/ulp_utils.c drivers/net/bnxt/tf_ulp/ulp_utils.h+212 -80 replies
9/15net/bnxt: refactor flow id allocationdrivers/net/bnxt/tf_ulp/bnxt_ulp_flow.c drivers/net/bnxt/tf_ulp/ulp_def_rules.c drivers/net/bnxt/tf_ulp/ulp_mapper.c +2 more+132 -730 replies
10/15net/bnxt: add VXLAN decap templatesdrivers/net/bnxt/tf_ulp/ulp_rte_parser.c drivers/net/bnxt/tf_ulp/ulp_rte_parser.h drivers/net/bnxt/tf_ulp/ulp_template_db_class.c +7 more+5127 -14710 replies
11/15net/bnxt: add VXLAN decap offload supportdoc/guides/nics/bnxt.rst doc/guides/rel_notes/release_20_11.rst drivers/net/bnxt/meson.build +14 more+694 -820 replies
12/15net/bnxt: increase the size of Rx CQdrivers/net/bnxt/bnxt_ring.h+1 -10 replies
13/15net/bnxt: fix to reset mbuf data offsetdrivers/net/bnxt/bnxt_rxr.c+1 -00 replies
14/15net/bnxt: set thread safe flow ops flagdoc/guides/nics/bnxt.rst doc/guides/rel_notes/release_20_11.rst drivers/net/bnxt/bnxt_ethdev.c+9 -00 replies
15/15net/bnxt: fix Rx performance by removing spinlockdrivers/net/bnxt/bnxt.h drivers/net/bnxt/bnxt_cpr.c drivers/net/bnxt/bnxt_cpr.h +5 more+18 -150 replies

Reviews trailers per patch

14 of 15 patches have a Reviewed-by or Acked-by.

PatchFarah SmithAjit KhapardeRandy SchacherVenkat DuvvuruShahaji BhosleMike BaucomSomnath KoturKishore PadmanabhaQingmin LiuLance Richardson
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 R-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 R-b
13/15R-b
14/15
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 10 reviewers.

Read the v4 thread

Cover letter [dpdk-dev] [PATCH v4 00/15] bnxt fixes and enhancements

This patchset has support for VXLAN decap full offload, SR device support in tf_core and a few bug fixes.

v1->v2:
- Squashed some patches.
- Updated commit logs.
- Fixed a compilation issue reported during clang builds.

v2->v3:
- Added the SPDX header for cfa_resource_types.h in patch [01/11].
- Update commit logs.

v3->v4:
- Addressed review comments.
- Added verbose commit messages.

Ajit Khaparde (3):
net/bnxt: increase the size of Rx CQ
net/bnxt: fix to reset mbuf data offset
net/bnxt: set thread safe flow ops flag

Farah Smith (1):
net/bnxt: add table scope to PF Mapping

Jay Ding (1):
net/bnxt: support two table scopes

Kishore Padmanabha (2):
net/bnxt: add hierarchical flow counters
net/bnxt: add mapper support for wildcard TCAM

Peter Spreadborough (2):
net/bnxt: add stingray support to core layer
net/bnxt: update ULP resource counts

Rahul Gupta (1):
net/bnxt: fix Rx performance by removing spinlock

Somnath Kotur (2):
net/bnxt: fix flow query count
net/bnxt: modify HWRM command to create reps

Venkat Duvvuru (3):
net/bnxt: refactor flow id allocation
net/bnxt: add VXLAN decap templates
net/bnxt: add VXLAN decap offload support

 doc/guides/nics/bnxt.rst                      |   20 +
 doc/guides/rel_notes/release_20_11.rst        |    3 +
 drivers/net/bnxt/bnxt.h                       |   10 +-
 drivers/net/bnxt/bnxt_cpr.c                   |   12 +
 drivers/net/bnxt/bnxt_cpr.h                   |    1 +
 drivers/net/bnxt/bnxt_ethdev.c                |    8 +
 drivers/net/bnxt/bnxt_hwrm.c                  |   60 +-
 drivers/net/bnxt/bnxt_hwrm.h                  |    2 -
 drivers/net/bnxt/bnxt_reps.c                  |   18 +-
 drivers/net/bnxt/bnxt_ring.h                  |    2 +-
 drivers/net/bnxt/bnxt_rxq.c                   |    4 -
 drivers/net/bnxt/bnxt_rxq.h                   |    3 -
 drivers/net/bnxt/bnxt_rxr.c                   |    6 +-
 drivers/net/bnxt/bnxt_rxr.h                   |    2 -
 drivers/net/bnxt/bnxt_txr.h                   |    2 -
 drivers/net/bnxt/hcapi/hcapi_cfa.h            |   39 +-
 drivers/net/bnxt/meson.build                  |    1 +
 drivers/net/bnxt/tf_core/cfa_resource_types.h |   82 +-
 drivers/net/bnxt/tf_core/tf_core.c            |   57 +-
 drivers/net/bnxt/tf_core/tf_core.h            |   57 +-
 drivers/net/bnxt/tf_core/tf_device.c          |    9 +-
 drivers/net/bnxt/tf_core/tf_device.h          |   47 +-
 drivers/net/bnxt/tf_core/tf_device_p4.c       |   69 +-
 drivers/net/bnxt/tf_core/tf_device_p4.h       |    6 +
 drivers/net/bnxt/tf_core/tf_device_p45.h      |  105 +
 drivers/net/bnxt/tf_core/tf_em.h              |   25 +-
 drivers/net/bnxt/tf_core/tf_em_common.c       |  176 +-
 drivers/net/bnxt/tf_core/tf_em_common.h       |   27 +-
 drivers/net/bnxt/tf_core/tf_em_host.c         |   31 +-
 drivers/net/bnxt/tf_core/tf_global_cfg.c      |    4 +-
 drivers/net/bnxt/tf_core/tf_global_cfg.h      |   42 +-
 drivers/net/bnxt/tf_core/tf_msg.c             |   13 +-
 drivers/net/bnxt/tf_core/tf_msg.h             |    4 +-
 drivers/net/bnxt/tf_core/tf_session.h         |   16 +-
 drivers/net/bnxt/tf_core/tf_tbl.h             |    3 +
 drivers/net/bnxt/tf_core/tfp.c                |   19 +
 drivers/net/bnxt/tf_core/tfp.h                |   16 +
 drivers/net/bnxt/tf_ulp/bnxt_tf_common.h      |    4 +-
 drivers/net/bnxt/tf_ulp/bnxt_ulp.c            |   50 +-
 drivers/net/bnxt/tf_ulp/bnxt_ulp.h            |   12 +
 drivers/net/bnxt/tf_ulp/bnxt_ulp_flow.c       |  129 +-
 drivers/net/bnxt/tf_ulp/ulp_def_rules.c       |   48 +-
 drivers/net/bnxt/tf_ulp/ulp_fc_mgr.c          |  133 +-
 drivers/net/bnxt/tf_ulp/ulp_fc_mgr.h          |   19 +
 drivers/net/bnxt/tf_ulp/ulp_flow_db.c         |  475 +++-
 drivers/net/bnxt/tf_ulp/ulp_flow_db.h         |   46 +
 drivers/net/bnxt/tf_ulp/ulp_mapper.c          |   83 +-
 drivers/net/bnxt/tf_ulp/ulp_mapper.h          |    6 +-
 drivers/net/bnxt/tf_ulp/ulp_rte_parser.c      |   85 +-
 drivers/net/bnxt/tf_ulp/ulp_rte_parser.h      |   12 +
 .../net/bnxt/tf_ulp/ulp_template_db_class.c   |  962 ++++---
 .../net/bnxt/tf_ulp/ulp_template_db_enum.h    |   42 +-
 .../net/bnxt/tf_ulp/ulp_template_db_field.h   |  363 ++-
 .../tf_ulp/ulp_template_db_stingray_act.c     |  116 +-
 .../tf_ulp/ulp_template_db_stingray_class.c   | 2493 ++++++++++++++---
 drivers/net/bnxt/tf_ulp/ulp_template_db_tbl.c |    9 +-
 .../bnxt/tf_ulp/ulp_template_db_wh_plus_act.c |  116 +-
 .../tf_ulp/ulp_template_db_wh_plus_class.c    | 2489 +++++++++++++---
 drivers/net/bnxt/tf_ulp/ulp_template_struct.h |    7 +
 drivers/net/bnxt/tf_ulp/ulp_tun.c             |  310 ++
 drivers/net/bnxt/tf_ulp/ulp_tun.h             |   92 +
 drivers/net/bnxt/tf_ulp/ulp_utils.c           |  125 +
 drivers/net/bnxt/tf_ulp/ulp_utils.h           |   48 +-
 63 files changed, 7225 insertions(+), 2050 deletions(-)
 create mode 100644 drivers/net/bnxt/tf_core/tf_device_p45.h
 create mode 100644 drivers/net/bnxt/tf_ulp/ulp_tun.c
 create mode 100644 drivers/net/bnxt/tf_ulp/ulp_tun.h
Signature · 1 line
2.21.1 (Apple Git-122.3)