From 7962fd44c89cd94a0737e17a21cbf5c768e55cfa Mon Sep 17 00:00:00 2001 From: Ajit Khaparde Date: Thu, 15 Jul 2021 12:29:08 -0700 Subject: [PATCH] net/bnxt: update CFA resource types Update cfa_resource_types.h to add a new entry for compatibility with FW. Signed-off-by: Shuanglin Wang Reviewed-by: Randy Schacher 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.20.1