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

This patch updates the implementation of set_mac 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