]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
RDMA/hns: Assign the correct value for tx_cqn
authoroulijun <oulijun@huawei.com>
Wed, 10 Jan 2018 06:39:47 +0000 (14:39 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 17 Jan 2018 03:38:18 +0000 (20:38 -0700)
commit6d13b869ea1e929842e9d758867e4b7473759f9d
tree8c3e4cc6bf783e917922166004822497f50bcbdc
parent979a459c8347a797fd03717a3f12289c91617982
RDMA/hns: Assign the correct value for tx_cqn

When modifying qp from init to init, it need to assign the cqn of send cq
for tx cqn field of qp context. Otherwise, it will cause a mistake when
the send and recv cq sizes are different.

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