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)
commit25b64fc5f2c0779b53ec155d69cc06b7cdc6e99f
tree0dfb1dcf12ca1e45ec758d0103d8a674cae6114c
parent546481c2816ea3c061ee9d5658eb48070f69212e
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 5412352fcd8f ("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