]> 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)
commit43f8b793d7b3044fe25602ce9d7b687d10668ba2
treeb7ce3c1d61055eac08af95d106f2cce4375d2e28
parent10affcff6efd089ff5b17ae4c16057dcb201e1b3
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