]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hns: Fix the bug with rdma operation
authoroulijun <oulijun@huawei.com>
Sat, 10 Jun 2017 10:49:23 +0000 (18:49 +0800)
committerDoug Ledford <dledford@redhat.com>
Tue, 18 Jul 2017 01:21:28 +0000 (21:21 -0400)
commit9de61d3fcdde06087f65b4022a1a966c10ab5803
tree5273b28b5a0975f9e1e1cfab8d01ff8e1018fd02
parent58c4f0d85f59c458074f016c13991c0a81105180
IB/hns: Fix the bug with rdma operation

When opcode of work request is RDMA read and write, it
should use rdma_wr to get remote_addr and rkey. This
patch fixes it.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_hw_v1.c