RDMA/cxgb3: Fix error paths in post_send and post_recv
authorFrank Zago <frank@zago.net>
Wed, 16 Dec 2009 07:39:10 +0000 (23:39 -0800)
committerRoland Dreier <rolandd@cisco.com>
Wed, 16 Dec 2009 07:39:10 +0000 (23:39 -0800)
Always set bad_wr when an immediate error is detected.  Return ENOMEM
for queue full instead of EINVAL to match other drivers.

Signed-off-by: Frank Zago <fzago@systemfabricworks.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found