RDMA/hns: Filter for zero length of sge in hip08 kernel mode
authoroulijun <oulijun@huawei.com>
Wed, 3 Jan 2018 02:44:06 +0000 (10:44 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 3 Jan 2018 20:58:59 +0000 (13:58 -0700)
commit52e3b42a2f587912f0558cd4989da160d8b1304a
tree315667fc366115fc14d739adee5091cf8e6aee27
parentace1c5416b37bc9d925f91ee163c47fa6aa16781
RDMA/hns: Filter for zero length of sge in hip08 kernel mode

When the length of sge is zero, the driver need to filter it

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c