net/bnxt: support WC TCAM management
[dpdk.git] / drivers / net / bnxt / tf_core / tf_util.c
index b4d47d5..e712816 100644 (file)
@@ -59,6 +59,12 @@ tf_tcam_tbl_2_str(enum tf_tcam_tbl_type tcam_type)
                return "sp_tcam";
        case TF_TCAM_TBL_TYPE_CT_RULE_TCAM:
                return "ct_rule_tcam";
+#ifdef TF_TCAM_SHARED
+       case TF_TCAM_TBL_TYPE_WC_TCAM_HIGH:
+               return "wc_tcam_hi";
+       case TF_TCAM_TBL_TYPE_WC_TCAM_LOW:
+               return "wc_tcam_lo";
+#endif
        default:
                return "Invalid tcam table type";
        }
@@ -98,20 +104,8 @@ tf_tbl_type_2_str(enum tf_tbl_type tbl_type)
                return "Mirror";
        case TF_TBL_TYPE_UPAR:
                return "UPAR";
-       case TF_TBL_TYPE_EPOCH0:
-               return "EPOCH0";
-       case TF_TBL_TYPE_EPOCH1:
-               return "EPOCH1";
        case TF_TBL_TYPE_METADATA:
                return "Metadata";
-       case TF_TBL_TYPE_CT_STATE:
-               return "Connection State";
-       case TF_TBL_TYPE_RANGE_PROF:
-               return "Range Profile";
-       case TF_TBL_TYPE_RANGE_ENTRY:
-               return "Range";
-       case TF_TBL_TYPE_LAG:
-               return "Link Aggregation";
        case TF_TBL_TYPE_EM_FKB:
                return "EM Flexible Key Builder";
        case TF_TBL_TYPE_WC_FKB: