[v4,00/15] bnxt fixes and enhancements
mbox series

Message ID 20201026035616.19264-1-ajit.khaparde@broadcom.com
Headers show
Series
  • bnxt fixes and enhancements
Related show

Message

Ajit Khaparde Oct. 26, 2020, 3:56 a.m. UTC
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

Comments

Ajit Khaparde Oct. 26, 2020, 5:42 p.m. UTC | #1
On Sun, Oct 25, 2020 at 8:56 PM Ajit Khaparde
<ajit.khaparde@broadcom.com> wrote:
>
> 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.

Patchset applied to dpdk-next-net-brcm.

>
> 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
>
> --
> 2.21.1 (Apple Git-122.3)
>