IB/ipath: Normalize error return codes for posting work requests
authorRalph Campbell <ralph.campbell@qlogic.com>
Wed, 14 Nov 2007 21:34:14 +0000 (13:34 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 20 Nov 2007 19:05:42 +0000 (11:05 -0800)
The error codes for ib_post_send(), ib_post_recv(), and ib_post_srq_recv()
were inconsistent. Use EINVAL for too many SGEs and ENOMEM for too many
WRs.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found