From patchwork Wed Jun 10 11:43:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Somnath Kotur X-Patchwork-Id: 71136 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D42C1A051A; Wed, 10 Jun 2020 13:48:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AD0942B83; Wed, 10 Jun 2020 13:48:56 +0200 (CEST) Received: from relay.smtp.broadcom.com (relay.smtp.broadcom.com [192.19.232.149]) by dpdk.org (Postfix) with ESMTP id A9AE0CF3 for ; Wed, 10 Jun 2020 13:48:54 +0200 (CEST) Received: from dhcp-10-123-153-55.dhcp.broadcom.net (dhcp-10-123-153-55.dhcp.broadcom.net [10.123.153.55]) by relay.smtp.broadcom.com (Postfix) with ESMTP id B63681BD56B; Wed, 10 Jun 2020 04:48:53 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 relay.smtp.broadcom.com B63681BD56B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1591789734; bh=SyguycGlus4FWM7YGJaskA8X23aXV/ngUANvXK+IQZQ=; h=From:To:Cc:Subject:Date:From; b=cjuRlaV6nhm4goZCKE+b8CThSME5u1BGC+tItLPmNCytn/H0Z628Mx0mU9VWoQAjj 8zHknQhNFwBFc53BQ6YMO1bYc9qCzhX+ET8wir9TS2CO3nUbkIVBT1jHWxMTFclCaX e8ERs0ULCXpWb8eej16E2ewppWtOD2+GvnNxbLtg= From: Somnath Kotur To: dev@dpdk.org Cc: ferruh.yigit@intel.com Date: Wed, 10 Jun 2020 17:13:51 +0530 Message-Id: <20200610114427.22146-1-somnath.kotur@broadcom.com> X-Mailer: git-send-email 2.10.1.613.g2cc2e70 Subject: [dpdk-dev] [PATCH 00/36] bnxt patches X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patchset consists of enhancements for the host based flow table management mechanism that was introduced in 20.05. Also has some feature support for offloading 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