net/mlx5: fix flow shared action destroy error code
authorThomas Monjalon <thomas@monjalon.net>
Tue, 24 Nov 2020 22:33:15 +0000 (23:33 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 25 Nov 2020 12:55:05 +0000 (13:55 +0100)
commit72bf1b5d80fb3151e361a78d5f607c20e95a7f0c
tree1d0ef39bf7031b5fcf70e13654090cbf1da3de9a
parentbb5d49c6165b0c6ac32499ddc3e7fee41cfda51d
net/mlx5: fix flow shared action destroy error code

In the function rte_flow_shared_action_destroy(),
the errno ETOOMANYREFS has been replaced with EBUSY in the
commit dc328d1c555a ("ethdev: rename a flow shared action error code").

Another occurrence of ETOOMANYREFS, added later by mistake,
is replaced with EBUSY errno.

Fixes: fa7ad49e96b5 ("net/mlx5: fix shared RSS action update")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Tal Shnaiderman <talshn@nvidia.com>
Tested-by: Tal Shnaiderman <talshn@nvidia.com>
drivers/net/mlx5/mlx5_flow_dv.c