[00/36] bnxt fixes and enhancements
mbox series

Message ID 20200610065733.18698-1-somnath.kotur@broadcom.com
Headers show
Series
  • bnxt fixes and enhancements
Related show

Message

Somnath Kotur June 10, 2020, 6:56 a.m. UTC
This patchset consists of fixes for the host based flow table
management mechanism that was introduced in 20.05. Also has some
enhancements that add offload support for vxlan encap/decap and
on-chip exact match flows.

Kishore Padmanabha (30):
  bnxt/tf_ulp: Created sub Makefile for tf_ulp and tf_core
  net/bnxt: remove svif and vlan information from header bitmap
  net/bnxt: add vfr flag to the mark manager
  net/bnxt: support for mark action for LFID rules
  net/bnxt: remove mem field from mapper class table
  net/bnxt: support more resource functions in flow database
  net/bnxt: rename the ulp action bitmap enumeration values
  net/bnxt: add support for computed header field in result opcode
  net/bnxt: updated compute field list and access macros
  net/bnxt: extend default identifier list to be global resource list
  net/bnxt: add resource sub type to class and action tables
  net/bnxt: remove cache tbl id from the mapper class table
  net/bnxt: move vfr flag from computed field list to class table
  net/bnxt: add support for action bitmap opcode in result field
    processing
  net/bnxt: direction bit needs to be added to the action bitmap
  net/bnxt: remove cache_tbl_id enums
  net/bnxt: extend index table processing to process action templates
  net/bnxt: use vport in the phy port act handler
  net/bnxt: add enum to the critical resource
  net/bnxt: rename regfile_wr_idx to regfile_idx
  net/bnxt: remove unused enum in regfile index
  net/bnxt: rename an enum in the regfile index
  net/bnxt: rename the enums in the bnxt_ulp_resource_sub_type
  net/bnxt: add support for vxlan encap and decap templates
  net/bnxt: flow db api to get vf rep action record
  net/bnxt: remove the implicit bitset update for vnic action
  net/bnxt: divide the ulp template db file to smaller modules
  net/bnxt: add support for internal exact match flows
  net/bnxt: enable vfr flag processing with mark db opcode
  net/bnxt: update ulp template database for new opcodes

Mike Baucom (3):
  net/bnxt: unify the mapper opcodes into single enum
  net/bnxt: change opcode for adding pad to setting zero for common
    usage
  net/bnxt: optimized key/mask/result fields to use set to zero opcode

Shuanglin Wang (1):
  net/bnxt: add a devarg to set max flow count

Venkat Duvvuru (2):
  net/bnxt: parse ipv6 vtc_flow field for more granularly
  net/bnxt: rename fields in the device params structure

 drivers/net/bnxt/Makefile                       |   29 +-
 drivers/net/bnxt/bnxt.h                         |    3 +
 drivers/net/bnxt/bnxt_ethdev.c                  |   62 +-
 drivers/net/bnxt/bnxt_rxr.c                     |   37 +-
 drivers/net/bnxt/meson.build                    |    4 +-
 drivers/net/bnxt/tf_core/Makefile               |   17 +
 drivers/net/bnxt/tf_ulp/Makefile                |   18 +
 drivers/net/bnxt/tf_ulp/bnxt_ulp.c              |   85 +-
 drivers/net/bnxt/tf_ulp/bnxt_ulp_flow.c         |    7 +-
 drivers/net/bnxt/tf_ulp/ulp_flow_db.c           |  231 +-
 drivers/net/bnxt/tf_ulp/ulp_flow_db.h           |   51 +-
 drivers/net/bnxt/tf_ulp/ulp_mapper.c            |  874 +++---
 drivers/net/bnxt/tf_ulp/ulp_mapper.h            |   26 +-
 drivers/net/bnxt/tf_ulp/ulp_mark_mgr.c          |   13 +-
 drivers/net/bnxt/tf_ulp/ulp_mark_mgr.h          |    4 +
 drivers/net/bnxt/tf_ulp/ulp_matcher.c           |   25 +-
 drivers/net/bnxt/tf_ulp/ulp_matcher.h           |    2 +-
 drivers/net/bnxt/tf_ulp/ulp_rte_parser.c        |  167 +-
 drivers/net/bnxt/tf_ulp/ulp_rte_parser.h        |   13 +-
 drivers/net/bnxt/tf_ulp/ulp_template_db.c       | 3426 +++++++++++++++++++++--
 drivers/net/bnxt/tf_ulp/ulp_template_db.h       |  341 ++-
 drivers/net/bnxt/tf_ulp/ulp_template_db_act.c   |  545 ++++
 drivers/net/bnxt/tf_ulp/ulp_template_db_class.c | 2498 +++++++++++++++++
 drivers/net/bnxt/tf_ulp/ulp_template_db_enum.h  |  591 ++++
 drivers/net/bnxt/tf_ulp/ulp_template_db_field.h |  225 ++
 drivers/net/bnxt/tf_ulp/ulp_template_db_tbl.c   |  549 ++++
 drivers/net/bnxt/tf_ulp/ulp_template_field_db.h |  163 +-
 drivers/net/bnxt/tf_ulp/ulp_template_struct.h   |   77 +-
 drivers/net/bnxt/tf_ulp/ulp_utils.c             |   69 +-
 drivers/net/bnxt/tf_ulp/ulp_utils.h             |   40 +-
 30 files changed, 9212 insertions(+), 980 deletions(-)
 create mode 100644 drivers/net/bnxt/tf_core/Makefile
 create mode 100644 drivers/net/bnxt/tf_ulp/Makefile
 create mode 100644 drivers/net/bnxt/tf_ulp/ulp_template_db_act.c
 create mode 100644 drivers/net/bnxt/tf_ulp/ulp_template_db_class.c
 create mode 100644 drivers/net/bnxt/tf_ulp/ulp_template_db_enum.h
 create mode 100644 drivers/net/bnxt/tf_ulp/ulp_template_db_field.h
 create mode 100644 drivers/net/bnxt/tf_ulp/ulp_template_db_tbl.c