common/mlx5: add Direct Verbs constants for Windows
[dpdk.git] / drivers / net / bnxt / tf_core / tf_util.c
index b4d47d5..c1b9be0 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";
        }
@@ -70,6 +76,8 @@ tf_tbl_type_2_str(enum tf_tbl_type tbl_type)
        switch (tbl_type) {
        case TF_TBL_TYPE_FULL_ACT_RECORD:
                return "Full Action record";
+       case TF_TBL_TYPE_COMPACT_ACT_RECORD:
+               return "Compact Action record";
        case TF_TBL_TYPE_MCAST_GROUPS:
                return "Multicast Groups";
        case TF_TBL_TYPE_ACT_ENCAP_8B:
@@ -90,6 +98,14 @@ tf_tbl_type_2_str(enum tf_tbl_type tbl_type)
                return "Stats 64B";
        case TF_TBL_TYPE_ACT_MODIFY_IPV4:
                return "Modify IPv4";
+       case TF_TBL_TYPE_ACT_MODIFY_8B:
+               return "Modify 8B";
+       case TF_TBL_TYPE_ACT_MODIFY_16B:
+               return "Modify 16B";
+       case TF_TBL_TYPE_ACT_MODIFY_32B:
+               return "Modify 32B";
+       case TF_TBL_TYPE_ACT_MODIFY_64B:
+               return "Modify 64B";
        case TF_TBL_TYPE_METER_PROF:
                return "Meter Profile";
        case TF_TBL_TYPE_METER_INST:
@@ -98,26 +114,16 @@ 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:
                return "WC Flexible Key Builder";
        case TF_TBL_TYPE_EXT:
                return "External";
+       case TF_TBL_TYPE_METER_DROP_CNT:
+               return "Meter drop counter";
        default:
                return "Invalid tbl type";
        }