[dpdk-dev] [PATCH] net/mlx5: fix query host adapter if no DevX enabled

Shahaf Shuler shahafs at mellanox.com
Mon Apr 22 19:46:16 CEST 2019


Monday, April 22, 2019 3:38 PM, Viacheslav Ovsiienko:
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix query host adapter if no DevX
> enabled
> 
> If there is the support of DevX is exposed by rdma-core but DevX is not
> supported by or disabled for the specific interface the
> mlx5_devx_cmd_query_hca_attr() routine returns an error preventing the
> device from successful probing. The routine should be invoked only in case of
> enabled DevX.
> 
> Fixes: e2b4925ef7c1 ("net/mlx5: support Direct Rules E-Switch")
> Cc: Ori Kam <orika at mellanox.com>
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>

Applied to next-net-mlx, thanks. 



More information about the dev mailing list