]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/ipath: Fix RDMA reads of length zero and error handling
authorRalph Campbell <ralph.campbell@qlogic.com>
Thu, 15 Mar 2007 21:45:00 +0000 (14:45 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 19 Apr 2007 03:20:57 +0000 (20:20 -0700)
commitdd5190b6be0f3e27b6a4933a6a6d2d59957fc748
treeb359f97ede9c4d78bd25f0ed70fdc2b49570bc3d
parentc7e29ff11f23ec78b3caf691789c2b791bb596bf
IB/ipath: Fix RDMA reads of length zero and error handling

Fix RDMA read response length checking for RDMA_READ_RESPONSE_ONLY to
allow a zero length response.  RDMA read responses which don't match
the expected length or occur in response to some other operation
should generate a completion queue error (see table 56, ch. 9.9.2.3 in
the IB spec).

Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_rc.c