]> 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)
commit39ba20969c6e3fa2ae007dd5f6fa699185e85e11
tree0dfb1dcf12ca1e45ec758d0103d8a674cae6114c
parent808545a1d2c0eaa917c737fdc9291c403f664ee1
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 543c6cd5792a ("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