Viacheslav Ovsiienko f4a9349da8 net/mlx5: fix probing if DevX disabled
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")

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
2019-05-03 18:45:22 +02:00
..
2019-04-04 22:46:05 +02:00
2019-04-12 11:02:02 +02:00
2019-05-02 23:29:09 +02:00
2019-04-04 22:46:05 +02:00
2019-04-12 11:02:02 +02:00
2019-04-19 14:51:54 +02:00
2019-05-03 18:45:22 +02:00
2019-04-19 14:51:55 +02:00
2019-04-19 14:51:54 +02:00
2019-04-19 14:51:54 +02:00
2019-05-02 14:17:24 +02:00
2019-04-04 22:46:05 +02:00
2019-04-19 14:51:55 +02:00
2019-04-04 22:46:05 +02:00
2019-04-04 22:46:05 +02:00
2019-04-12 17:01:13 +02:00
2019-03-20 18:15:42 +01:00
2019-04-22 13:24:59 +02:00
2019-04-19 14:51:54 +02:00
2019-04-19 14:51:54 +02:00
2019-04-19 14:51:54 +02:00