diff options
author | Kamal Heib <kamalh@mellanox.com> | 2016-12-06 17:32:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-06 11:44:44 -0500 |
commit | f9c14e46748be9a2adafdb7d216f6cdeb435aadc (patch) | |
tree | 663db6816358ea5c2051e9594d287fea7997617e /Documentation | |
parent | 9e5b2fc1d39b3122e2028849d0edc5df1d1a4761 (diff) |
net/mlx5: Fix query ISSI flow
In old FWs query ISSI command is not supported and for some of those FWs
it might fail with status other than "MLX5_CMD_STAT_BAD_OP_ERR".
In such case instead of failing the driver load, we will treat any FW
status other than 0 for Query ISSI FW command as ISSI not supported and
assume ISSI=0 (most basic driver/FW interface).
In case of driver syndrom (query ISSI failure by driver) we will fail
driver load.
Fixes: f62b8bb8f2d3 ('net/mlx5: Extend mlx5_core to support ConnectX-4
Ethernet functionality')
Signed-off-by: Kamal Heib <kamalh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions