From patchwork Thu Jul 23 11:13:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Somnath Kotur X-Patchwork-Id: 74640 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 8BE86A0521; Thu, 23 Jul 2020 13:18:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 382091BE90; Thu, 23 Jul 2020 13:18:56 +0200 (CEST) Received: from relay.smtp.broadcom.com (unknown [192.19.232.149]) by dpdk.org (Postfix) with ESMTP id 5A2863B5 for ; Thu, 23 Jul 2020 13:18: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 418D41BD9BA; Thu, 23 Jul 2020 04:18:53 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 relay.smtp.broadcom.com 418D41BD9BA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1595503134; bh=rgLYoLpF3UcaEHycYLXusTPOg5w5A0mmKq8FXTrI2eA=; h=From:To:Cc:Subject:Date:From; b=FmPrKZQwNb5BXt1afKeYUXl2CZ7Y4vDuYTrWFVbXbGN76qLOGgq0Y6rUmCGoFDxy7 8JVMcxEOIWif+ONJHE3njZWQCcHrxbxipd4Yh0RQxGxrkt+afLoVN15GrVz2Bs4CwK jw5bTBlFQN2wX3aYiy/SHjaCJ2j/ucRNFeviIs24= From: Somnath Kotur To: dev@dpdk.org Cc: ferruh.yigit@intel.com Date: Thu, 23 Jul 2020 16:43:09 +0530 Message-Id: <20200723111329.21855-1-somnath.kotur@broadcom.com> X-Mailer: git-send-email 2.10.1.613.g2cc2e70 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 00/20] 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" Some fixes, cleanups and changes to augment pre-existing support in infrastructure Please apply Kishore Padmanabha (7): net/bnxt: nat global registers support net/bnxt: parif for offload miss rules net/bnxt: nat template changes 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: tcam table processing support for search and alloc Mike Baucom (9): net/bnxt: add shadow tcam capability with search net/bnxt: ulp mapper changes to use tcam search net/bnxt: add tf hash API net/bnxt: modify tf shadow tcam to use common tf hash net/bnxt: added shadow table capability with search net/bnxt: ulp mapper changes to use tbl search net/bnxt: shadow tcam and tbl reference count modification net/bnxt: added templates for search before alloc net/bnxt: enabled shadow tables during session open Somnath Kotur (1): net/bnxt: cleanup of VF-representor dev ops Venkat Duvvuru (3): net/bnxt: skip mark id injection into mbuf net/bnxt: fix port default rule create and destroy net/bnxt: delete VF FW rules when a representor is created drivers/net/bnxt/bnxt.h | 6 +- drivers/net/bnxt/bnxt_ethdev.c | 81 +-- 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 | 6 +- 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 | 81 +++ drivers/net/bnxt/tf_ulp/ulp_template_db_act.c | 434 ++++++++----- drivers/net/bnxt/tf_ulp/ulp_template_db_class.c | 556 ++++++++++++++-- drivers/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 +- 38 files changed, 4457 insertions(+), 850 deletions(-) create mode 100644 drivers/net/bnxt/tf_core/tf_hash.c create mode 100644 drivers/net/bnxt/tf_core/tf_hash.h