From patchwork Sat Jun 27 10:00:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajit Khaparde X-Patchwork-Id: 72318 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 19072A0520; Sat, 27 Jun 2020 12:01:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B63F41BF90; Sat, 27 Jun 2020 12:00:59 +0200 (CEST) Received: from rnd-relay.smtp.broadcom.com (rnd-relay.smtp.broadcom.com [192.19.229.170]) by dpdk.org (Postfix) with ESMTP id C87DF1BF7D for ; Sat, 27 Jun 2020 12:00:57 +0200 (CEST) Received: from mail-irv-17.broadcom.com (mail-irv-17.lvn.broadcom.net [10.75.242.48]) by rnd-relay.smtp.broadcom.com (Postfix) with ESMTP id 685B630C0D7 for ; Sat, 27 Jun 2020 03:00:56 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 rnd-relay.smtp.broadcom.com 685B630C0D7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1593252056; bh=WlZx8lKLE6tsjSxQd0lB7uwDao5CPS+GFyh2i87LVQE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qD6E6RItSwwFcc41s1/tA5yk7ySAA5KWfvIbQ33lVo97zWGw5JnIYRrvJDjwNyS/w jNVPF9O3OLNGLi6uwvab3zliZwhHOpWZLrdBQtU58Vtu3lrDbSqkxQNJ8VSTzQYkdB WbdMljeDna1LTXFB1ABmaoeV/D9xFynxgH1UGU6A= Received: from localhost.localdomain (unknown [10.230.185.215]) by mail-irv-17.broadcom.com (Postfix) with ESMTP id E29F514008C for ; Sat, 27 Jun 2020 03:00:55 -0700 (PDT) From: Ajit Khaparde To: dev@dpdk.org Date: Sat, 27 Jun 2020 03:00:25 -0700 Message-Id: <20200627100050.19688-1-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) In-Reply-To: <20200612125024.15989-1-somnath.kotur@broadcom.com> References: <20200612125024.15989-1-somnath.kotur@broadcom.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v4 00/25] 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. v3->v4: - Squashed patches and reduced number of patches from 36 to 25 - Updated commit logs - Fixed Signed-off-by and Reviewed-by tags for some contrubuters Kishore Padmanabha (22): net/bnxt: changes to makefile net/bnxt: remove fields from bitmap and mapper table net/bnxt: support more resource functions in flow database net/bnxt: add computed header field in result opcode net/bnxt: update compute field list and access macros net/bnxt: change default identifier to global resource net/bnxt: add resource sub type to class and action tables net/bnxt: remove cache tbl id from mapper class table net/bnxt: add support for action bitmap opcode net/bnxt: process action templates net/bnxt: use vport in the phy port act handler net/bnxt: add enum to the critical resource net/bnxt: refactor and rename some fields and enums 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 ulp template db file to smaller modules net/bnxt: add support for internal exact match flows net/bnxt: add vfr flag to the mark manager net/bnxt: support for mark action for LFID rules net/bnxt: rename fields in the device params structure net/bnxt: update ulp template database for new opcodes Mike Baucom (1): net/bnxt: refactor the mapper opcodes Shuanglin Wang (1): net/bnxt: add a devarg to set max flow count Venkat Duvvuru (1): net/bnxt: modify IPV6 vtc flow field parsing drivers/net/bnxt/Makefile | 29 +- drivers/net/bnxt/bnxt.h | 3 + drivers/net/bnxt/bnxt_ethdev.c | 62 +- drivers/net/bnxt/bnxt_rxr.c | 38 +- drivers/net/bnxt/meson.build | 4 +- drivers/net/bnxt/tf_core/Makefile | 16 + 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 | 882 +++-- drivers/net/bnxt/tf_ulp/ulp_mapper.h | 25 +- 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 | 3406 +++++++++++++++-- drivers/net/bnxt/tf_ulp/ulp_template_db.h | 332 +- drivers/net/bnxt/tf_ulp/ulp_template_db_act.c | 545 +++ .../net/bnxt/tf_ulp/ulp_template_db_class.c | 2497 ++++++++++++ .../net/bnxt/tf_ulp/ulp_template_db_enum.h | 591 +++ .../net/bnxt/tf_ulp/ulp_template_db_field.h | 225 ++ drivers/net/bnxt/tf_ulp/ulp_template_db_tbl.c | 548 +++ .../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 | 67 +- drivers/net/bnxt/tf_ulp/ulp_utils.h | 40 +- 30 files changed, 9201 insertions(+), 965 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