net/hns3: fix querying flow director counter for out param
authorChengwen Feng <fengchengwen@huawei.com>
Fri, 7 May 2021 09:08:18 +0000 (17:08 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 11 May 2021 16:29:06 +0000 (18:29 +0200)
commit7ab816640c923f6e91beddcc196b1cad81cda524
tree6a21a8011f7eb12b4a39e31ad23c766192bc56f7
parent9c552087dc81d95a0bdbfef1be796a0c9656acee
net/hns3: fix querying flow director counter for out param

The hardware doesn't support counting the number of bytes that through
the fdir rule. Therefore, the corresponding out parameters (e.g.
bytes_set/bytes) is set to zero.

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>
drivers/net/hns3/hns3_flow.c