]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/hns: Init qp context when modify qp from reset to init
authorLijun Ou <oulijun@huawei.com>
Sat, 8 Dec 2018 10:40:07 +0000 (18:40 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 11 Dec 2018 19:04:06 +0000 (12:04 -0700)
commit9f5071010347b2134e1139dca2396a0cea8130dc
tree4948c5d0ff09357e55c5c85a00ddbc9b4b30a971
parent9af3f5cf9d64a056eca53bc643f6288ad28bbbb5
RDMA/hns: Init qp context when modify qp from reset to init

It needs to clear qp context previous when init qp context.  Otherwise,
the newly created qp context residue has the contents of the qp context
before the uninstall, and the qp context content is disordered, causing
the task to fail.

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