]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Support inline data in extented sge space for RC
authorWeihang Li <liweihang@huawei.com>
Thu, 10 Sep 2020 13:21:09 +0000 (21:21 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 24 Sep 2020 19:06:57 +0000 (16:06 -0300)
commitc06848114f9141eee346c698de1672c5a5aaf926
tree1bb3b562156c2fd7f469c15b9cd574426711eed3
parent2cdf6fb5bac28ff046373837da4b12f9ccfe7165
RDMA/hns: Support inline data in extented sge space for RC

HIP08 supports RC inline up to size of 32 Bytes, and all data should be
put into SQWQE. For HIP09, this capability is extended to 1024 Bytes, if
length of data is longer than 32 Bytes, they will be filled into extended
sge space.

Link: https://lore.kernel.org/r/1599744069-9968-1-git-send-email-liweihang@huawei.com
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h
drivers/infiniband/hw/hns/hns_roce_qp.c