]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Assign zero for pkey_index of wc in hip08
authoroulijun <oulijun@huawei.com>
Wed, 10 Jan 2018 06:39:51 +0000 (14:39 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 17 Jan 2018 03:38:18 +0000 (20:38 -0700)
commit766d492b9a07d4a7a38d5bcd0c5725e554bc4a7a
tree80799cceacd5d7b5d7a1acd9c55f3f6140577d5c
parent03c74bdd9aa968192ce211df3716400c783e9d85
RDMA/hns: Assign zero for pkey_index of wc in hip08

Because pkey is fixed for hip08 RoCE, it needs to assign zero for
pkey_index of wc. otherwise, it will happen an error when establishing
connection by communication management mechanism.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c