diff options
author | Benjamin Poirier <bpoirier@suse.de> | 2015-05-22 16:12:26 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-27 13:08:03 -0400 |
commit | f4ecf29fd78d19a9301e638eaa1419e5c8fbdce1 (patch) | |
tree | 04d8fa0083cf0ae0b4480a02a86a6d87902d7917 /drivers/irqchip | |
parent | ce0e5c522d3924090c20e774359809a7aa08c44c (diff) | |
download | linux-f4ecf29fd78d19a9301e638eaa1419e5c8fbdce1.tar.bz2 |
mlx4_core: Fix fallback from MSI-X to INTx
The test in mlx4_load_one() to remove MLX4_FLAG_MSI_X expects mlx4_NOP() to
fail with -EBUSY. It is also necessary to avoid the reset since the device
is not fully reinitialized before calling mlx4_start_hca() a second time.
Note that this will also affect mlx4_test_interrupts(), the only other user
of MLX4_CMD_NOP.
Fixes: f5aef5a ("net/mlx4_core: Activate reset flow upon fatal command cases")
Signed-off-by: Benjamin Poirier <bpoirier@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/irqchip')
0 files changed, 0 insertions, 0 deletions