Chengwen Feng a06c3b0e9f net/hns3: fix flow counter value
User could create flow rules with specified counter by the action of
RTE_FLOW_ACTION_TYPE_COUNT, but the counter may retain the original
value when create.

This patch fix the bug by read the counter when creating the rule
because the counter is read-clear.

Fixes: fcba820d9b9e ("net/hns3: support flow director")
Cc: stable@dpdk.org

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
2021-04-08 18:57:09 +02:00
..
2021-04-09 15:38:26 +02:00
2021-04-08 18:32:31 +02:00
2021-04-08 18:57:09 +02:00
2021-04-01 13:52:35 +02:00
2021-04-08 18:32:31 +02:00