net/txgbe: fix flow error message object

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

Fixes: b7eeecb175 ("net/txgbe: parse n-tuple filter")
Cc: stable@dpdk.org

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Chengwen Feng 2021-04-21 14:31:13 +08:00 committed by Ferruh Yigit
parent 86f66ff10d
commit e413a12551

View File

@ -512,7 +512,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 =