]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Fix the bug with rq sge
authoroulijun <oulijun@huawei.com>
Fri, 4 May 2018 02:57:09 +0000 (10:57 +0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 9 May 2018 14:45:18 +0000 (10:45 -0400)
commite689a5e7929942979510766657607b7e7facf042
tree7c3937d8ac0ccd701adc41f7c1947bce2c6d3e0b
parent36fc690d883cb93f3971cd1ee61b93c2a5a7d18b
RDMA/hns: Fix the bug with rq sge

When received multiply rq sge, it should tag the
invalid lkey for the last non-zero length sge
when have some sges' length are zero. 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_v2.c