]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/infiniband/hw/hns/hns_roce_main.c
IB/hns: Modify the init of iboe lock
authorLijun Ou <oulijun@huawei.com>
Tue, 20 Sep 2016 16:07:02 +0000 (17:07 +0100)
committerDoug Ledford <dledford@redhat.com>
Mon, 3 Oct 2016 15:43:15 +0000 (11:43 -0400)
commit49fdf6bb0a172a8fe631d89a421857336efc4382
tree643c8fac4ccd759c2a3791e87e04b577137fdc8a
parentc4a193d3a84766ce01d2cfdf3afaf0252db1ddf4
IB/hns: Modify the init of iboe lock

This lock will be used in query port interface, and will be called
while IB device was registered to OFED framework/IB Core. So, the
lock of iboe must be initiated before IB device was registered.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Dongdong Huang(Donald) <hdd.huang@huawei.com>
Reviewed-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_main.c