]> git.baikalelectronics.ru Git - 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)
commit7b7c538be40807c5364119fa06eab1d2c0bea06e
tree8c3e4cc6bf783e917922166004822497f50bcbdc
parentbf5da23862e7267202c31d08c830736ea616d1f0
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