net/bnxt: update CFA resource types
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 15 Jul 2021 19:29:08 +0000 (12:29 -0700)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 16 Jul 2021 03:44:49 +0000 (05:44 +0200)
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>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/tf_core/cfa_resource_types.h

index 0d7df29..cbab0d0 100644 (file)
 #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 */