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 A3A5AA0C47; Fri, 16 Jul 2021 00:54:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 53EDF4014D; Fri, 16 Jul 2021 00:54:28 +0200 (CEST) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mails.dpdk.org (Postfix) with ESMTP id 98D7D40143 for ; Fri, 16 Jul 2021 00:54:26 +0200 (CEST) Received: by mail-pj1-f42.google.com with SMTP id p4-20020a17090a9304b029016f3020d867so5685407pjo.3 for ; Thu, 15 Jul 2021 15:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:mime-version; bh=2SOSwXzDbXj3sA9Du1DGwg59V45ImYhqvgNdGuEdTjk=; b=R8nF+I+jW1E4bNQhGEkfgNOV66aLGUWoo83I3bSr2RSQ1au6Ge7lH+XCp5diRQniZ8 lBLQPSCyd2UW3hMeFhtRrMjCGA1zi9QvLbRulDrwjLfEgQkZuTzz2W3xkfsJqFg6e8aC XchkWutL6z5IoAfVJxh/+0IQhbzQ4TPWijG/0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=2SOSwXzDbXj3sA9Du1DGwg59V45ImYhqvgNdGuEdTjk=; b=gO2AuQkRBp+xlv6+XJHHg4dSU4iSeR1hkqgxK3tl/Ml/WMrB4dczDONZscRdjAPdYK o8UUXfIBvgYxsHUKevUDpiwV2TaBwlFSNvDOmBmEIA2wxdFzQKeiDsq7RyPiioJYewWT THeXuquQ7RcYgvZXYVNbPY2eCLOUKnHWUAgr3rz1bQ07ePKIfwYYc7AAUucyjYGEfvqC 7e9yHsUMLru3OHWcfUh0AiIQmM4VY8cSQLHU2cktF+eW17QL+UatSa4VKSzB5Udn+FM3 I/KmSTCMcL5FO0Au4kklph4sr4WliD6ObTeGVBuNgNrxErcxvE5/BSR0tb8dMDp8vI1f 9I4A== X-Gm-Message-State: AOAM53156Vu+dVvJNwWen6aJDL1OIV0vRbP9kxmbkAW03eFIHBsWgpNF fHywdEBIWBFAZqaLtJJW3vXoWViFnGdl0qv0xpVaquCRT9WgwPVmBK/bhx+jBQHXZniNzWpCRpa oCgpVfSbd2mxRYpe9k8h32OhUmOBH/mZB4XXL5fol4QYBV+dSxzpk/5IuJwCxMfI= X-Google-Smtp-Source: ABdhPJyDqyKdY4mjiMdawCRhoOgr3tJCJh+c5dk4B4lWSeCCVmXnoh8Rq30gQdd8BZGr4e7Vo/SnnQ== X-Received: by 2002:a17:90b:3d4:: with SMTP id go20mr12202062pjb.170.1626389665268; Thu, 15 Jul 2021 15:54:25 -0700 (PDT) Received: from localhost.localdomain (ip68-5-71-166.oc.oc.cox.net. [68.5.71.166]) by smtp.gmail.com with ESMTPSA id u9sm10109521pjm.34.2021.07.15.15.54.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jul 2021 15:54:24 -0700 (PDT) From: Ajit Khaparde To: dev@dpdk.org Cc: Shuanglin Wang , Randy Schacher Date: Thu, 15 Jul 2021 15:54:21 -0700 Message-Id: <20210715225421.44803-1-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000004ba24605c7315a63" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-dev] [PATCH] net/bnxt: update CFA resource types 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" --0000000000004ba24605c7315a63 Content-Transfer-Encoding: 8bit Update cfa_resource_types.h to add a new entry for compatibility with FW. Signed-off-by: Shuanglin Wang Reviewed-by: Randy Schacher Reviewed-by: Ajit Khaparde Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/tf_core/cfa_resource_types.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/bnxt/tf_core/cfa_resource_types.h b/drivers/net/bnxt/tf_core/cfa_resource_types.h index 0d7df2920b..cbab0d0078 100644 --- a/drivers/net/bnxt/tf_core/cfa_resource_types.h +++ b/drivers/net/bnxt/tf_core/cfa_resource_types.h @@ -104,7 +104,9 @@ #define CFA_RESOURCE_TYPE_P58_WC_FKB 0x12UL /* VEB TCAM */ #define CFA_RESOURCE_TYPE_P58_VEB_TCAM 0x13UL -#define CFA_RESOURCE_TYPE_P58_LAST CFA_RESOURCE_TYPE_P58_VEB_TCAM +/* Meter drop counter */ +#define CFA_RESOURCE_TYPE_P58_METER_DROP_CNT 0x15UL +#define CFA_RESOURCE_TYPE_P58_LAST CFA_RESOURCE_TYPE_P58_METER_DROP_CNT /* Multicast Group */ -- 2.21.1 (Apple Git-122.3) --0000000000004ba24605c7315a63--