]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Load the RoCE dirver automatically
authoroulijun <oulijun@huawei.com>
Fri, 4 May 2018 02:57:05 +0000 (10:57 +0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 9 May 2018 14:45:18 +0000 (10:45 -0400)
commitb5e02d0308f319c9683d2867515a4cc90cb0a8c5
tree9170820eaaa88f8f3bbf9197f641825622bdf24e
parent0184bb706e9e81fead23c96ec598e4b1f6efe8b5
RDMA/hns: Load the RoCE dirver automatically

To enable the linux-kernel system to load the hns-roce-hw-v2 driver
automatically when hns-roce-hw-v2 is plugged in pci bus, it need to
create a MODULE_DEVICE_TABLE for expose the pci_table of
hns-roce-hw-v2 to user.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Reported-by: Zhou Wang <wangzhou1@hisilicon.com>
Tested-by: Xiaojun Tan <tanxiaojun@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c