[dpdk-stable] [dpdk-dev] [PATCH] net/mlx5: fix Verbs errors treatment in prio probing
Shahaf Shuler
shahafs at mellanox.com
Thu Mar 7 09:34:25 CET 2019
Thursday, February 21, 2019 11:02 AM, Viacheslav Ovsiienko:
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix Verbs errors treatment in prio
> probing
>
> The mlx5 PMD probes the Verbs flow priorities supported with
> ibv_create_flow() function. If rdma-core or kernel fails for some reason, the
> returned error causes the drop queue is not destroyed, and pd is locked by
> not freed resource.
>
> Also the mlx5_flow_discover_priorities() returned negative value as error,
> and this code was reported "as is", without sign changing (eventually causing
> assert(err > 0)).
>
> Fixes: 2815702baea7 ("net/mlx5: replace verbs priorities by flow")
> Cc: stable at dpdk.org
>
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
Applied to next-net-mlx, thanks.
More information about the stable
mailing list