net/mlx5: fix E-Switch DV flow disabling
[dpdk.git] / drivers / net / hns3 / hns3_fdir.h
index f9efff3..8d588ff 100644 (file)
@@ -125,6 +125,7 @@ struct hns3_fd_ad_data {
 #define HNS3_RULE_FLAG_FDID            0x1
 #define HNS3_RULE_FLAG_VF_ID           0x2
 #define HNS3_RULE_FLAG_COUNTER         0x4
+#define HNS3_RULE_FLAG_COUNTER_INDIR   0x8
 
 struct hns3_fdir_key_conf {
        struct hns3_fd_rule_tuples spec;
@@ -139,7 +140,7 @@ struct hns3_fdir_rule {
        uint32_t flags;
        uint32_t fd_id; /* APP marked unique value for this rule. */
        uint8_t action;
-       /* VF id, avaiblable when flags with HNS3_RULE_FLAG_VF_ID. */
+       /* VF id, available when flags with HNS3_RULE_FLAG_VF_ID. */
        uint8_t vf_id;
        /*
         * equal 0 when action is drop.