Some fixes, cleanups and changes to augment pre-existing support in infrastructure
Please apply v1->v2: - Fixed some typos in patch [9/20]. v2->v3: - Fixed coding style issues in patch [15/20] to use __rte_attribute. - Updated commit messages. - Added a patch to fix a logic error [21/22]. - Added a patch to fix compilation issue with -O and -g CFLAGS [22/22]. v3->v4: - Updated commit logs based on review comments. - Updated fixes tag in commit logs for some patches. - Removed unused code from patche [09/22]. - Updated doc where applicable. Ajit Khaparde (2): net/bnxt: fix if condition net/bnxt: fix build error with extra cflags Kishore Padmanabha (7): net/bnxt: add access to nat global register net/bnxt: configure parif for offload miss rules net/bnxt: fix nat template net/bnxt: configure parif for the egress rules net/bnxt: ignore VLAN priority mask net/bnxt: add egress template with VLAN tag match net/bnxt: add tcam table processing for search and alloc Mike Baucom (9): net/bnxt: add shadow and search capability to tcam net/bnxt: modify ulp mapper to use tcam search net/bnxt: add TruFlow hash API net/bnxt: update shadow tcam to use TruFlow hash net/bnxt: add shadow table capability with search net/bnxt: modify ulp mapper to use tbl search net/bnxt: fix table reference count for shadow tcam net/bnxt: add templates for search before alloc net/bnxt: enable shadow tables during session open Somnath Kotur (1): net/bnxt: cleanup VF-representor dev ops Venkat Duvvuru (3): net/bnxt: fix mark id update to mbuf net/bnxt: fix port default rule create and destroy net/bnxt: fix FW rule deletion on representor create doc/guides/nics/bnxt.rst | 46 + doc/guides/rel_notes/release_20_08.rst | 1 + drivers/net/bnxt/bnxt.h | 6 +- drivers/net/bnxt/bnxt_ethdev.c | 83 +- drivers/net/bnxt/bnxt_hwrm.c | 49 ++ drivers/net/bnxt/bnxt_hwrm.h | 2 + drivers/net/bnxt/bnxt_reps.c | 94 +- drivers/net/bnxt/bnxt_rxr.c | 3 + drivers/net/bnxt/bnxt_txq.h | 1 - drivers/net/bnxt/bnxt_txr.c | 19 +- drivers/net/bnxt/hsi_struct_def_dpdk.h | 138 +++ drivers/net/bnxt/meson.build | 1 + drivers/net/bnxt/tf_core/Makefile | 1 + drivers/net/bnxt/tf_core/tf_core.c | 139 ++- drivers/net/bnxt/tf_core/tf_core.h | 174 ++++ drivers/net/bnxt/tf_core/tf_device_p4.c | 4 +- drivers/net/bnxt/tf_core/tf_hash.c | 106 +++ drivers/net/bnxt/tf_core/tf_hash.h | 27 + drivers/net/bnxt/tf_core/tf_shadow_tbl.c | 766 +++++++++++++++- drivers/net/bnxt/tf_core/tf_shadow_tbl.h | 124 +-- drivers/net/bnxt/tf_core/tf_shadow_tcam.c | 818 +++++++++++++++++- drivers/net/bnxt/tf_core/tf_shadow_tcam.h | 258 +++--- drivers/net/bnxt/tf_core/tf_tbl.c | 246 +++++- drivers/net/bnxt/tf_core/tf_tbl.h | 22 +- drivers/net/bnxt/tf_core/tf_tcam.c | 300 ++++++- drivers/net/bnxt/tf_core/tf_tcam.h | 31 +- drivers/net/bnxt/tf_ulp/bnxt_ulp.c | 97 ++- drivers/net/bnxt/tf_ulp/bnxt_ulp.h | 18 +- drivers/net/bnxt/tf_ulp/ulp_def_rules.c | 127 ++- drivers/net/bnxt/tf_ulp/ulp_flow_db.c | 2 +- drivers/net/bnxt/tf_ulp/ulp_flow_db.h | 2 +- drivers/net/bnxt/tf_ulp/ulp_mapper.c | 505 +++++++---- drivers/net/bnxt/tf_ulp/ulp_port_db.c | 2 + drivers/net/bnxt/tf_ulp/ulp_port_db.h | 1 + drivers/net/bnxt/tf_ulp/ulp_rte_parser.c | 87 +- drivers/net/bnxt/tf_ulp/ulp_template_db_act.c | 434 ++++++---- .../net/bnxt/tf_ulp/ulp_template_db_class.c | 556 +++++++++++- .../net/bnxt/tf_ulp/ulp_template_db_enum.h | 73 +- drivers/net/bnxt/tf_ulp/ulp_template_db_tbl.c | 4 +- drivers/net/bnxt/tf_ulp/ulp_template_struct.h | 8 +- 40 files changed, 4507 insertions(+), 868 deletions(-) create mode 100644 drivers/net/bnxt/tf_core/tf_hash.c create mode 100644 drivers/net/bnxt/tf_core/tf_hash.h -- 2.21.1 (Apple Git-122.3)