]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "IB/mlx4: Return EAGAIN for any error in mlx4_ib_poll_one"
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 28 Aug 2016 07:58:32 +0000 (10:58 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 2 Sep 2016 18:09:14 +0000 (14:09 -0400)
commit9639fcb74203bc41d25d5799e50faf71819cb063
tree0dfb1dcf12ca1e45ec758d0103d8a674cae6114c
parent36c13619b701e61bc008445717f2c40bce46a019
Revert "IB/mlx4: Return EAGAIN for any error in mlx4_ib_poll_one"

By Mellanox HW design and SW implementation, poll_cq never
fails and returns errors, so all these printks are to catch ULP bugs.

In case of such bug, the reverted patch will cause reentry of the
function, resulting in a printk storm.

This reverts commit 0cdfaae15c15 ("IB/mlx4: Return EAGAIN for any error in mlx4_ib_poll_one")

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/cq.c