ethdev: rename a flow shared action error code
authorThomas Monjalon <thomas@monjalon.net>
Fri, 20 Nov 2020 09:54:38 +0000 (10:54 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 20 Nov 2020 20:10:05 +0000 (21:10 +0100)
commitdc328d1c555ae43ba52c6f646384f135f69cf6fd
treeb6aaa1180b0981665ff261486acda3fc199189c3
parent511b7371d32b61a6f761f16fefd931241cef60ee
ethdev: rename a flow shared action error code

In the experimental function rte_flow_shared_action_destroy()
introduced in DPDK 20.11, the errno ETOOMANYREFS was used.
This errno is not always available on Windows,
so it is preferred using EBUSY instead.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Tal Shnaiderman <talshn@nvidia.com>
Tested-by: Tal Shnaiderman <talshn@nvidia.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/mlx5/mlx5_flow_dv.c
lib/librte_ethdev/rte_flow.h