net/hns3: fix interception with flow director
authorLijun Ou <oulijun@huawei.com>
Wed, 6 Jan 2021 03:46:27 +0000 (11:46 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 Jan 2021 02:30:13 +0000 (03:30 +0100)
commit35ec45adf7a49d8ac2091e9f06dcf74d92083510
treee3aa2728f4230a968cebeb6d95d7a8a20628bc3c
parentd62be9ce13bd328952bdeeb81f3942956f978fbe
net/hns3: fix interception with flow director

The rte_fdir_conf structure has deprecated and users need
to use the specified rule parameters of rte_flow structure
when configure a flow rule. As a result, it is incorrectly
used in the rte_flow API.

Fixes: fcba820d9b9e ("net/hns3: support flow director")
Cc: stable@dpdk.org
Signed-off-by: Lijun Ou <oulijun@huawei.com>
drivers/net/hns3/hns3_flow.c