From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B71FDA04DD; Tue, 20 Oct 2020 23:55:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E1309AC8D; Tue, 20 Oct 2020 23:55:45 +0200 (CEST) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by dpdk.org (Postfix) with ESMTP id 8B8ADAC84 for ; Tue, 20 Oct 2020 23:55:44 +0200 (CEST) Received: by mail-pl1-f172.google.com with SMTP id h2so86849pll.11 for ; Tue, 20 Oct 2020 14:55:44 -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=iAzmbKmHbedS5kkzBVeHACc+UJVUt8OGSmDe1BWxyrY=; b=Txip92GpBE+e2iW3Zml7pHkvHyXLNEFzgsi6+IwBT6jlwz3o8ztScpHQZgYsCjPi/3 tQRTzt2Y/VZn8oi+8bbfY5E/uSCtCJWKfxaBp1+SuZP9Q2lJHIiO5HnJDk6jv/UjrfoT rIixBKtIVnFC8ByYfojVJBgGl78FNw8G6+FRo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version; bh=iAzmbKmHbedS5kkzBVeHACc+UJVUt8OGSmDe1BWxyrY=; b=RZkuw5fenBxnbOD/2Yp8luPrdhs3j+yOIx1zfEb60r5gKJfOBMHM5B4glh00LrYbEm M/wa7RLJ/qeRjA68dGp5H48TrNHztUvJyjeLd+uSjZH2bjcgdVi6KvJVFX283sW0z+DT A83D5Auw/MVstV3J7Rm051yMBeCF2PiCbXxEyn7cj3/Sis1YKU5Z1ckrEI7LWjKmJZG8 8ym6/eU8Y3+psM+WzTaHglX09UB5gu5jzg3HiHgM7nB02D8w9s6uLko2OVehhBrafE96 dkMmU81AWS5YZzU24TF6FSldFy8xpykeu5A/AIX4L0DelZ7J3sBFnm/ncsNg8nAAeiqN JE3w== X-Gm-Message-State: AOAM530+wTNa6tQ/25m57Rn5bnteHLr4MiclSV8Wjd2xiy3/g2Vg2ynn nScHJVXhwNT15eVJ3eoFbNwjd9Z8JkP00K8li4Vrkf/Hu3SDFlF6QA8yBJgV+kYZORbe2Wq8P9A KHdZjhARYZtUxzUnaVdj7vRt0HGCk4CzUZH+io/AwMdGoJ1y0OIkg3y9JlCTePe/R0g== X-Google-Smtp-Source: ABdhPJzsdhvV2mtqHiRNTwT4hJUuvXMTaz6Ax7dmv470+hKTMJ1lkrgD9wX8v6fvQhCsJJ9Pbv1dzQ== X-Received: by 2002:a17:90a:1903:: with SMTP id 3mr176883pjg.74.1603230942274; Tue, 20 Oct 2020 14:55:42 -0700 (PDT) Received: from localhost.localdomain ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id e6sm24113pfn.190.2020.10.20.14.55.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Oct 2020 14:55:41 -0700 (PDT) From: Ajit Khaparde To: dev@dpdk.org Date: Tue, 20 Oct 2020 14:55:27 -0700 Message-Id: <20201020215538.59242-1-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) In-Reply-To: <1602916089-18576-1-git-send-email-venkatkumar.duvvuru@broadcom.com> References: <1602916089-18576-1-git-send-email-venkatkumar.duvvuru@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] [PATCH v2 00/11] bnxt fixes and enhancements to TRUFLOW support 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 has support for VXLAN decap full offload, SR device support in tf_core and a few bug fixes. v1->v2:  - Squashed some patches.  - Updated commit logs. - Fixed a compilation issue reported during clang builds. Farah Smith (1): net/bnxt: add table scope to PF Mapping Jay Ding (1): net/bnxt: changes to support two table scopes Kishore Padmanabha (2): net/bnxt: add support for flow counter accumulation net/bnxt: add mapper support for wildcard TCAM Peter Spreadborough (2): net/bnxt: add stingray support to core layer net/bnxt: update ULP resource counts Somnath Kotur (2): net/bnxt: fix infinite loop in flow query count net/bnxt: change HWRM command to create reps Venkat Duvvuru (3): net/bnxt: refactor flow id allocation net/bnxt: add support for VXLAN decap templates net/bnxt: add VXLAN decap offload support doc/guides/nics/bnxt.rst | 18 + doc/guides/rel_notes/release_20_11.rst | 2 + drivers/net/bnxt/bnxt.h | 6 +- drivers/net/bnxt/bnxt_ethdev.c | 2 + drivers/net/bnxt/bnxt_hwrm.c | 60 +- drivers/net/bnxt/bnxt_hwrm.h | 2 - drivers/net/bnxt/bnxt_reps.c | 18 +- drivers/net/bnxt/hcapi/hcapi_cfa.h | 39 +- drivers/net/bnxt/meson.build | 1 + drivers/net/bnxt/tf_core/cfa_resource_types.h | 95 +- drivers/net/bnxt/tf_core/tf_core.c | 57 +- drivers/net/bnxt/tf_core/tf_core.h | 57 +- drivers/net/bnxt/tf_core/tf_device.c | 9 +- drivers/net/bnxt/tf_core/tf_device.h | 47 +- drivers/net/bnxt/tf_core/tf_device_p4.c | 69 +- drivers/net/bnxt/tf_core/tf_device_p4.h | 6 + drivers/net/bnxt/tf_core/tf_device_p45.h | 105 + drivers/net/bnxt/tf_core/tf_em.h | 25 +- drivers/net/bnxt/tf_core/tf_em_common.c | 176 +- drivers/net/bnxt/tf_core/tf_em_common.h | 27 +- drivers/net/bnxt/tf_core/tf_em_host.c | 31 +- drivers/net/bnxt/tf_core/tf_global_cfg.c | 4 +- drivers/net/bnxt/tf_core/tf_global_cfg.h | 42 +- drivers/net/bnxt/tf_core/tf_msg.c | 13 +- drivers/net/bnxt/tf_core/tf_msg.h | 4 +- drivers/net/bnxt/tf_core/tf_session.h | 16 +- drivers/net/bnxt/tf_core/tf_tbl.h | 3 + drivers/net/bnxt/tf_core/tfp.c | 19 + drivers/net/bnxt/tf_core/tfp.h | 16 + drivers/net/bnxt/tf_ulp/bnxt_tf_common.h | 4 +- drivers/net/bnxt/tf_ulp/bnxt_ulp.c | 50 +- drivers/net/bnxt/tf_ulp/bnxt_ulp.h | 12 + drivers/net/bnxt/tf_ulp/bnxt_ulp_flow.c | 129 +- drivers/net/bnxt/tf_ulp/ulp_def_rules.c | 48 +- drivers/net/bnxt/tf_ulp/ulp_fc_mgr.c | 133 +- drivers/net/bnxt/tf_ulp/ulp_fc_mgr.h | 19 + drivers/net/bnxt/tf_ulp/ulp_flow_db.c | 475 +++- drivers/net/bnxt/tf_ulp/ulp_flow_db.h | 46 + drivers/net/bnxt/tf_ulp/ulp_mapper.c | 83 +- drivers/net/bnxt/tf_ulp/ulp_mapper.h | 6 +- drivers/net/bnxt/tf_ulp/ulp_rte_parser.c | 85 +- drivers/net/bnxt/tf_ulp/ulp_rte_parser.h | 12 + .../net/bnxt/tf_ulp/ulp_template_db_class.c | 962 ++++--- .../net/bnxt/tf_ulp/ulp_template_db_enum.h | 42 +- .../net/bnxt/tf_ulp/ulp_template_db_field.h | 363 ++- .../tf_ulp/ulp_template_db_stingray_act.c | 116 +- .../tf_ulp/ulp_template_db_stingray_class.c | 2493 ++++++++++++++--- drivers/net/bnxt/tf_ulp/ulp_template_db_tbl.c | 9 +- .../bnxt/tf_ulp/ulp_template_db_wh_plus_act.c | 116 +- .../tf_ulp/ulp_template_db_wh_plus_class.c | 2489 +++++++++++++--- drivers/net/bnxt/tf_ulp/ulp_template_struct.h | 7 + drivers/net/bnxt/tf_ulp/ulp_tun.c | 310 ++ drivers/net/bnxt/tf_ulp/ulp_tun.h | 92 + drivers/net/bnxt/tf_ulp/ulp_utils.c | 125 + drivers/net/bnxt/tf_ulp/ulp_utils.h | 48 +- 55 files changed, 7206 insertions(+), 2037 deletions(-) create mode 100644 drivers/net/bnxt/tf_core/tf_device_p45.h create mode 100644 drivers/net/bnxt/tf_ulp/ulp_tun.c create mode 100644 drivers/net/bnxt/tf_ulp/ulp_tun.h -- 2.21.1 (Apple Git-122.3)