From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 44062A0C5E; Thu, 4 Nov 2021 22:58:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A82341223; Thu, 4 Nov 2021 22:58:54 +0100 (CET) Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) by mails.dpdk.org (Postfix) with ESMTP id 5AF04411C9 for ; Thu, 4 Nov 2021 22:58:52 +0100 (CET) Received: by mail-pg1-f171.google.com with SMTP id q126so2675109pgq.13 for ; Thu, 04 Nov 2021 14:58:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version; bh=uB+DiNkDEHcvmTWPRqW85o15ohfQZ3ezXzr51haJuX4=; b=bRhHCfNLngk9WV77d1uDRJ+cXFUDlnrK9aPU4tdDKE0H708UR21T9g6w51sim1DuYV qPwtJ8Xjr66cZ53wSQH0LhsrpJNMUTr0zTn0hv8KquQc+0CcQbcjBKYhQyVvov5eRGwO 0k3T6vi0XFkUHqY8TbA3XveQc3s8IwP6XdUgw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version; bh=uB+DiNkDEHcvmTWPRqW85o15ohfQZ3ezXzr51haJuX4=; b=igjZq4ljjOkBlAPsKU+lWDCRyWxCwN4qcDJJNIODs4ycNSAcPRbr9UwTaRd2hlGmY6 SeCYriHEMhTZwTmTvH693BXm7i/s2ig8KKG9JS7bkBxuQBILzFW/H0d+01bHP0rc4mkb aOFFemCnaon3ZJs1C9+CQmnbjnIjOTzgpKpXniFMeFFcsXGxthoD16ojlJtSK1lMPZht kIWnY6xy5y7JesmOyniQWpTGWJOBnlD4dG2hfxXR6Nxl2vi2gMrIA2Y5/TTONAxnJZIw BZfppCtCCCAJPi0rQt74yOZUnz7pidUk65YgYGN3ziDuOnErTaNdDoXiNGLLRYtBZYjy 7x8Q== X-Gm-Message-State: AOAM533B3EH7NJ9cVd512n6P+qM8E5e+xZ3CGzg/JXQgAc/BEa2pSkD7 6rQjfIYyQF6eQJXFPpVGF7lQrNxzAzwU7Nl60lsHXiPhODY9c6BiS6vXFS0ta27+9cNfOWesjjR +ZzIjT/rxGt26gPCiaLm1cGwyM7G0DJPWC6C6ywXl1LLdWDyjbn7D32KOVg+zI70= X-Google-Smtp-Source: ABdhPJyx7QX9fjHUMzUFTVkJgchrVWF5REWFtFPVbTXEwtpjka3AId/dW+Z08yVWE1IZGp3hpIfCDw== X-Received: by 2002:a63:1717:: with SMTP id x23mr40970566pgl.182.1636063131018; Thu, 04 Nov 2021 14:58:51 -0700 (PDT) Received: from C02GC2QQMD6T.wifi.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id pg5sm8532242pjb.26.2021.11.04.14.58.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Nov 2021 14:58:50 -0700 (PDT) From: Ajit Khaparde To: dev@dpdk.org Date: Thu, 4 Nov 2021 14:58:24 -0700 Message-Id: <20211104215846.58672-1-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.30.1 (Apple Git-130) In-Reply-To: <20211103005251.25524-1-ajit.khaparde@broadcom.com> References: <20211103005251.25524-1-ajit.khaparde@broadcom.com> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000ca4e0205cffda101" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-dev] [PATCH v5 00/22] fixes and enhancements to Truflow X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" --000000000000ca4e0205cffda101 Content-Transfer-Encoding: 8bit Enhancements include: * Scaling numbers on Thor * Inner IP header support for GRE tunnel flows * Enable wildcard match for ingress flows * Add clear on read for flow stats on Thor * Add nat support for dest IP and port combination * Remove 2-slice WC support * Add support for socket redirect feature * Add new API TruFlow get SRAM resources * Remove accumulation of stats devargs argument * Add TruFlow and AFM SRAM partitioning support V2: * Compilation fixes * Remove 2-slice WC support * Add support for socket redirect feature * Add new API TruFlow get SRAM resources * Remove accumulation of stats devargs argument * Add TruFlow and AFM SRAM partitioning support V3: * Added one more patch (use enum for bank ID) V4: * Fixed typos in patch 2/20 * Fix checkpatch warnings * Updated commit logs * Rebased the patches to latest dpdk-next-net V5: * Split couple of patches into cleanup and code change patch * Fixed typo in some patches * Address review comments * Rebased patches to latest dpdk-next-net Ajit Khaparde (2): net/bnxt: remove unused functions net/bnxt: enable wildcard match for ingress flows Farah Smith (1): net/bnxt: add clear on read support Jay Ding (5): net/bnxt: get TruFlow version net/bnxt: add new TruFlow API to get SRAM resources net/bnxt: add TruFlow and AFM SRAM partitioning support net/bnxt: add Tx TruFlow table config for P4 device net/bnxt: use enum for bank ID Kishore Padmanabha (11): net/bnxt: add NAT support for dest IP and port combination net/bnxt: add support for multi root capability net/bnxt: fix out of bounds issue in hash list net/bnxt: add capability option for socket redirect net/bnxt: address ISO C90 compilation error net/bnxt: support inner IP header for GRE tunnel flows net/bnxt: remove devargs for stats accumulation net/bnxt: update log messages in TruFlow path net/bnxt: add support for socket direct feature net/bnxt: modify VF representor alloc sequence net/bnxt: check mismatch of control and physical port Mike Baucom (1): net/bnxt: remove 2 slice wildcard entries Shahaji Bhosle (2): net/bnxt: increase flow scale for Thor net/bnxt: fix clang compiler warnings drivers/net/bnxt/bnxt.h | 25 +- drivers/net/bnxt/bnxt_cpr.c | 2 +- drivers/net/bnxt/bnxt_ethdev.c | 274 +- drivers/net/bnxt/bnxt_hwrm.c | 36 + drivers/net/bnxt/bnxt_hwrm.h | 1 + drivers/net/bnxt/bnxt_reps.c | 9 +- drivers/net/bnxt/hsi_struct_def_dpdk.h | 4061 ++++++++++++++--- drivers/net/bnxt/tf_core/tf_core.c | 197 + drivers/net/bnxt/tf_core/tf_core.h | 202 + drivers/net/bnxt/tf_core/tf_device.c | 11 +- drivers/net/bnxt/tf_core/tf_device.h | 102 + drivers/net/bnxt/tf_core/tf_device_p4.c | 178 +- drivers/net/bnxt/tf_core/tf_device_p4.h | 137 +- drivers/net/bnxt/tf_core/tf_device_p58.c | 421 +- drivers/net/bnxt/tf_core/tf_device_p58.h | 205 +- drivers/net/bnxt/tf_core/tf_msg.c | 87 +- drivers/net/bnxt/tf_core/tf_msg.h | 31 +- drivers/net/bnxt/tf_core/tf_rm.c | 3 +- drivers/net/bnxt/tf_core/tf_sram_mgr.h | 10 - drivers/net/bnxt/tf_core/tf_tbl.c | 83 +- drivers/net/bnxt/tf_core/tf_tbl_sram.c | 13 +- drivers/net/bnxt/tf_ulp/bnxt_ulp.c | 59 +- drivers/net/bnxt/tf_ulp/bnxt_ulp.h | 9 +- drivers/net/bnxt/tf_ulp/bnxt_ulp_flow.c | 29 +- .../generic_templates/ulp_template_db_act.c | 376 +- .../generic_templates/ulp_template_db_class.c | 1986 ++++---- .../generic_templates/ulp_template_db_enum.h | 91 +- .../generic_templates/ulp_template_db_tbl.c | 3946 ++++++++++++---- .../ulp_template_db_thor_act.c | 150 +- .../ulp_template_db_thor_class.c | 909 ++-- .../ulp_template_db_wh_plus_act.c | 336 +- .../ulp_template_db_wh_plus_class.c | 222 +- drivers/net/bnxt/tf_ulp/ulp_def_rules.c | 8 +- drivers/net/bnxt/tf_ulp/ulp_fc_mgr.c | 12 +- drivers/net/bnxt/tf_ulp/ulp_flow_db.c | 2 +- drivers/net/bnxt/tf_ulp/ulp_gen_hash.c | 20 +- drivers/net/bnxt/tf_ulp/ulp_mark_mgr.c | 2 +- drivers/net/bnxt/tf_ulp/ulp_port_db.c | 23 + drivers/net/bnxt/tf_ulp/ulp_port_db.h | 13 + drivers/net/bnxt/tf_ulp/ulp_rte_parser.c | 32 +- drivers/net/bnxt/tf_ulp/ulp_template_struct.h | 2 +- 41 files changed, 10250 insertions(+), 4065 deletions(-) -- 2.30.1 (Apple Git-130) --000000000000ca4e0205cffda101--