]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a2270a5bba5d11c5c9f1dfe6b4e331831bba74b
tree7df88d88958e412c9c50e91bb5f7d4299f734595
parent6ca373aca29b83a507d1c48f466a11f6114b2e56
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