]> 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)
commitac2327778de2781b902a2fb2beaeb2cf0f88f42b
tree5273b28b5a0975f9e1e1cfab8d01ff8e1018fd02
parent1081bbf27f52ae6efd4a213f2c306892c83d8cb7
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