summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLijun Ou <oulijun@huawei.com>2018-09-30 17:00:34 +0800
committerJason Gunthorpe <jgg@mellanox.com>2018-10-03 16:21:18 -0600
commitb28ca7cceff8b2cfadebd34a907742cd396c2c33 (patch)
tree48a5873cc4455ba8922b038939704d707710806b /scripts
parent3a63c964eaa168c4ada1076b7c6ffd6a53a9ef86 (diff)
downloadcachepc-linux-b28ca7cceff8b2cfadebd34a907742cd396c2c33.tar.gz
cachepc-linux-b28ca7cceff8b2cfadebd34a907742cd396c2c33.zip
RDMA/hns: Limit extend sq sge num
According to hip08 limit, the buffer size of extend sge needs to be an integer wqe_sge_buf_page size. For example, the value of sge_shift field of qp context is greater or equal to eight when buffer page size is 4K size. The value of sge_shift field of qp context assigned by hr_qp->sge.sge_cnt. Signed-off-by: Lijun Ou <oulijun@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions