]> git.droids-corp.org - dpdk.git/commit
net/mlx5: set flow error for hash list create
authorSuanming Mou <suanmingm@nvidia.com>
Tue, 15 Feb 2022 10:10:52 +0000 (12:10 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Wed, 23 Feb 2022 14:57:32 +0000 (15:57 +0100)
commit0c5d3e4cdf1bbc92d138bce1f98f0b260a10b8fc
treeda5ff23608bd71b5a2038cff991e3d4822345f9e
parent05b54bf0892dcd1e3698ba86a297722b7566cc10
net/mlx5: set flow error for hash list create

While mlx5_hlist_create() failed, the rte_flow_error was not filled
with the corresponding error information.

This commit adds the missing rte_flow_error_set() for the failure case.

Fixes: f3020a331dca ("net/mlx5: optimize hash list table allocate on demand")
Cc: stable@dpdk.org
Signed-off-by: Suanming Mou <suanmingm@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5_flow_dv.c