summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw
diff options
context:
space:
mode:
authorYixian Liu <liuyixian@huawei.com>2018-03-15 15:23:14 +0800
committerJason Gunthorpe <jgg@mellanox.com>2018-03-15 15:34:26 -0600
commit7b48221cf41a90cf4bfc36e6d699b7fa4169c970 (patch)
tree1389bc25e0ed6f4a9e34a1f05f3e0df07d356119 /drivers/infiniband/sw
parente41a7c41947d33dbca16d1695460c121342a4601 (diff)
downloadop-kernel-dev-7b48221cf41a90cf4bfc36e6d699b7fa4169c970.zip
op-kernel-dev-7b48221cf41a90cf4bfc36e6d699b7fa4169c970.tar.gz
RDMA/hns: Fix cqn type and init resp
This patch changes the type of cqn from u32 to u64 to keep userspace and kernel consistent, initializes resp both for cq and qp to zeros, and also changes the condition judgment of outlen considering future caps extension. Suggested-by: Jason Gunthorpe <jgg@mellanox.com> Fixes: e088a685eae9 (hns: Support rq record doorbell for the user space) Fixes: 9b44703d0a21 (hns: Support cq record doorbell for the user space) Signed-off-by: Yixian Liu <liuyixian@huawei.com> Signed-off-by: Lijun Ou <oulijun@huawei.com> Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Shaobo Xu <xushaobo2@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/sw')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud