aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qedr/verbs.c
diff options
context:
space:
mode:
authorGanesh Goudar <ganeshgr@chelsio.com>2017-06-21 19:55:43 +0530
committerDoug Ledford <dledford@redhat.com>2017-07-20 11:20:50 -0400
commit720336c42e41a917002fcae3aa14e30f5022bbb7 (patch)
tree727fa0c4c57aef84be2f41a757893dc9ed4e5c39 /drivers/infiniband/hw/qedr/verbs.c
parentIB/mlx4: Fix CM REQ retries in paravirt mode (diff)
downloadlinux-dev-720336c42e41a917002fcae3aa14e30f5022bbb7.tar.xz
linux-dev-720336c42e41a917002fcae3aa14e30f5022bbb7.zip
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 'drivers/infiniband/hw/qedr/verbs.c')
0 files changed, 0 insertions, 0 deletions