diff mbox series

net/bnxt: update CFA resource types

Message ID 20210715225421.44803-1-ajit.khaparde@broadcom.com (mailing list archive)
State Accepted, archived
Delegated to: Ajit Khaparde
Headers show
Series net/bnxt: update CFA resource types | expand

Checks

Context Check Description
ci/iol-testing success Testing PASS
ci/iol-intel-Performance fail Performance Testing issues
ci/intel-Testing success Testing PASS
ci/iol-abi-testing success Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/Intel-compilation success Compilation OK
ci/github-robot success github build: passed
ci/checkpatch success coding style OK

Commit Message

Ajit Khaparde July 15, 2021, 10:54 p.m. UTC
Update cfa_resource_types.h to add a new entry for compatibility with FW.

Signed-off-by: Shuanglin Wang <shuanglin.wang@broadcom.com>
Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
---
 drivers/net/bnxt/tf_core/cfa_resource_types.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Ajit Khaparde July 16, 2021, 3:45 a.m. UTC | #1
On Thu, Jul 15, 2021 at 3:54 PM Ajit Khaparde <ajit.khaparde@broadcom.com>
wrote:

> Update cfa_resource_types.h to add a new entry for compatibility with FW.
>
> Signed-off-by: Shuanglin Wang <shuanglin.wang@broadcom.com>
> Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com>
> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
>
> Patch applied to dpdk-next-net-brcm.


> Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
> ---
>  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)
>
>
diff mbox series

Patch

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 */