commit | 5412352fcd8fba7f278ae8c9ba36296716f17ae8 | [log] [tgz] |
---|---|---|
author | Yuval Shaia <yuval.shaia@oracle.com> | Wed Jul 27 01:24:53 2016 -0700 |
committer | Doug Ledford <dledford@redhat.com> | Mon Aug 22 14:26:53 2016 -0400 |
tree | 5035bb5c0729cd93db2f7ef27d620e46eab958db | |
parent | e6a00f6684c9f348cd782922b4b277c68ab90b63 [diff] |
IB/mlx4: Return EAGAIN for any error in mlx4_ib_poll_one Error code EAGAIN should be used when errors are temporary and next call might succeeds. When error code other than EAGAIN is returned, the caller (mlx4_ib_poll) will assume all CQE in the same bunch are error too and will drop them all. Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Signed-off-by: Doug Ledford <dledford@redhat.com>