net/e1000: fix flow error message object
authorMin Hu (Connor) <humin29@huawei.com>
Tue, 27 Apr 2021 08:51:21 +0000 (16:51 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Wed, 28 Apr 2021 01:29:06 +0000 (03:29 +0200)
This patch fixes parameter misuse when set rte flow action error.

Fixes: c0688ef1eded ("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>
drivers/net/e1000/igb_flow.c

index 33f6b1d..e72376f 100644 (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 =