Skip to content

Commit

Permalink
net/e1000: fix flow error message object
Browse files Browse the repository at this point in the history
[ upstream commit 6705a69 ]

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

Fixes: c0688ef ("net/igb: parse flow API n-tuple filter")

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
  • Loading branch information
hushenggitcount authored and steevenlee committed Jun 8, 2021
1 parent 5d2c285 commit 351bc34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/e1000/igb_flow.c
Expand Up @@ -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 =
Expand Down

0 comments on commit 351bc34

Please sign in to comment.