]> git.baikalelectronics.ru Git - kernel.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)
commit9ff2d48f19b64aaa89f7e6cd9231f50a91a98025
treeb7ce3c1d61055eac08af95d106f2cce4375d2e28
parente43d4722d966d422203af5f8c47ebf79c1f35cfc
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