]> asedeno.scripts.mit.edu Git - linux.git/commit
net/mlx5: FPGA, Abort FPGA init if the device reports no QP capability
authorYevgeny Kliteynik <kliteyn@mellanox.com>
Wed, 8 Nov 2017 16:07:17 +0000 (18:07 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 30 May 2018 00:27:50 +0000 (17:27 -0700)
commit90275d809ab982a7fdc1f2ed5b0fe3e4c55a5257
treeb7ce3c1d61055eac08af95d106f2cce4375d2e28
parent98c90f6f103aa72d2ad587b76105834b2b78d031
net/mlx5: FPGA, Abort FPGA init if the device reports no QP capability

In the case that the reported max number of QPs capability
equals to zero, abort FPGA init.

Signed-off-by: Yevgeny Kliteynik <kliteyn@mellanox.com>
Signed-off-by: Adi Nissim <adin@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fpga/core.c