]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/hns3/hns3_flow.c
net/sfc: fix outer match in MAE backend
[dpdk.git] / drivers / net / hns3 / hns3_flow.c
index 65c7f6ed88d340cd6fc5cac2ea8d68480b5402a7..82810e00e8e188cfb79b3fea9cbabb64c5bcdf72 100644 (file)
@@ -223,6 +223,8 @@ hns3_counter_query(struct rte_eth_dev *dev, struct rte_flow *flow,
        }
        qc->hits_set = 1;
        qc->hits = value;
+       qc->bytes_set = 0;
+       qc->bytes = 0;
 
        return 0;
 }