net/e1000: fix flow error message object

This patch fixes parameter misuse when set rte flow action error.

Fixes: c0688ef1ed ("net/igb: parse flow API n-tuple filter")
Cc: stable@dpdk.org

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
This commit is contained in:
Min Hu (Connor) 2021-04-27 16:51:21 +08:00 committed by Qi Zhang
parent 3dbfacbf93
commit 6705a69cee

View File

@ -350,7 +350,7 @@ cons_parse_ntuple_filter(const struct rte_flow_attr *attr,
memset(filter, 0, sizeof(struct rte_eth_ntuple_filter));
rte_flow_error_set(error, EINVAL,
RTE_FLOW_ERROR_TYPE_ACTION,
item, "Not supported action.");
act, "Not supported action.");
return -rte_errno;
}
filter->queue =