net/hns3: fix flow error type
authorWei Hu (Xavier) <xavier.huwei@huawei.com>
Tue, 29 Sep 2020 12:01:12 +0000 (20:01 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 8 Oct 2020 17:58:10 +0000 (19:58 +0200)
commitf2577609209330341922bea57e24b7e27ba084d3
tree92a07a123153c925743395608bcbed0365bbdf14
parentf8f8df765f5f9a983f20a9a4f061f5a02672f693
net/hns3: fix flow error type

The API of rte_flow_error_set is used to pass detail error information
to caller, this patch sets suitable type when calling rte_flow_error_set
API.

Fixes: fcba820d9b9e ("net/hns3: support flow director")
Fixes: c37ca66f2b27 ("net/hns3: support RSS")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/hns3/hns3_flow.c