diff options
author | Ganesh Goudar <ganeshgr@chelsio.com> | 2017-06-21 19:55:43 +0530 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-20 11:20:50 -0400 |
commit | 720336c42e41a917002fcae3aa14e30f5022bbb7 (patch) | |
tree | 727fa0c4c57aef84be2f41a757893dc9ed4e5c39 /Documentation/i2c/busses/i2c-diolan-u2c | |
parent | 4542e3c79a2c5a167cbeb4f4190d5f705d272002 (diff) |
iw_cxgb4: don't use WR keys/addrs for 0 byte reads
Only use the read sge lkey/addr and the remote rkey/addr if the
length of the read is not zero. Otherwise the read response might
be treated as the RTR read response and not delivered to the
application. Or worse Terminator hardware will fail a 0B read
if the STAG is 0 even if the read length is 0.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'Documentation/i2c/busses/i2c-diolan-u2c')
0 files changed, 0 insertions, 0 deletions