]> 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)
commit8804516a278dbf21f36eefc8cae496de213edea0
tree5273b28b5a0975f9e1e1cfab8d01ff8e1018fd02
parente557435a1202ae602bf7df9de52f4dae6ddf8bb8
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