diff options
author | Lijun Ou | 2018-09-30 11:00:31 +0200 |
---|---|---|
committer | Jason Gunthorpe | 2018-10-04 00:21:17 +0200 |
commit | 05ad5482a5904c416bcfd74afd7193e206e563ce (patch) | |
tree | 9aa7c6e03d6c5d6fac4a89e1621ff13cb48f6b06 /kernel/hung_task.c | |
parent | RDMA/hns: Bugfix for CM test (diff) | |
download | kernel-qcow2-linux-05ad5482a5904c416bcfd74afd7193e206e563ce.tar.gz kernel-qcow2-linux-05ad5482a5904c416bcfd74afd7193e206e563ce.tar.xz kernel-qcow2-linux-05ad5482a5904c416bcfd74afd7193e206e563ce.zip |
RDMA/hns: Limit the size of extend sge of sq
The hip08 split two hardware version. The version id are 0x20 and 0x21
according to the PCI revison. The max size of extend sge of sq is limited
to 2M for 0x20 version and 8M for 0x21 version. It may be exceeded to 2M
according to the algorithm that compute the product of wqe count and
extend sge number of every wqe. But the product always less than 8M.
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'kernel/hung_task.c')
0 files changed, 0 insertions, 0 deletions