|
@@ -1364,6 +1364,10 @@ int mlx4_test_interrupts(struct mlx4_dev *dev)
|
|
|
* and performing a NOP command
|
|
* and performing a NOP command
|
|
|
*/
|
|
*/
|
|
|
for(i = 0; !err && (i < dev->caps.num_comp_vectors); ++i) {
|
|
for(i = 0; !err && (i < dev->caps.num_comp_vectors); ++i) {
|
|
|
|
|
+ /* Make sure request_irq was called */
|
|
|
|
|
+ if (!priv->eq_table.eq[i].have_irq)
|
|
|
|
|
+ continue;
|
|
|
|
|
+
|
|
|
/* Temporary use polling for command completions */
|
|
/* Temporary use polling for command completions */
|
|
|
mlx4_cmd_use_polling(dev);
|
|
mlx4_cmd_use_polling(dev);
|
|
|
|
|
|