[dpdk-dev] [PATCH] net/mlx5: fix wrong function of hairpin unbind

Thomas Monjalon thomas at monjalon.net
Fri Nov 13 20:09:30 CET 2020


13/11/2020 08:05, Bing Zhao:
> In the implementation of mlx5_hairpin_unbind, a copy-paste error was
> inside. If a single peer Rx port needed to be unbound, it would be
> bound again by mistake.
> 
> All the hardware resources were released when stopping the device and
> no mess of the configuration was introduced. But when trying to unbind
> the ports again, the issue would appear.
> 
> The typo of the function call is fixed. If there is no hairpin queue
> bound between two ports, the unbinding process should be considered
> successful.
> 
> Fixes: 37cd4501e873 ("net/mlx5: support two ports hairpin mode")
> 
> Signed-off-by: Bing Zhao <bingz at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>

Applied in next-net-mlx, thanks.




More information about the dev mailing list