OSDN Git Service

RDMA/hns: Update the implementation of set_gid
authoroulijun <oulijun@huawei.com>
Mon, 9 Jul 2018 09:48:09 +0000 (17:48 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 11 Jul 2018 20:09:25 +0000 (14:09 -0600)
commit4db134a3dde76330c65dd82e2918d655f2b6c90a
treecd3a8ed1e38829682d1568ff914780a9891a02ac
parentded58ff987dbc3066825789a552a0ce33075c4f7
RDMA/hns: Update the implementation of set_gid

This patch updates the implementation of set_gid by using
command queue instead of directly writing registers.

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_common.h
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h