]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Refactor eq code for hip06
authorYixian Liu <liuyixian@huawei.com>
Tue, 14 Nov 2017 09:26:16 +0000 (17:26 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 22 Dec 2017 16:21:38 +0000 (09:21 -0700)
commit74d4ecb5d415bc2765218a8e5a19d3f91e7c9cd4
treedfa5b4ca939f4c95bc8908dec52c887b882af758
parent55a0a6c56fd1bfd82e919d9c7e9944d42ac1f8c7
RDMA/hns: Refactor eq code for hip06

Considering the compatibility of supporting hip08's eq
process and possible changes of data structure, this patch
refactors the eq code structure of hip06.

We move all the eq process code for hip06 from hns_roce_eq.c
into hns_roce_hw_v1.c, and also for hns_roce_eq.h. With
these changes, it will be convenient to add the eq support
for later hardware version.

Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Reviewed-by: Lijun Ou <oulijun@huawei.com>
Reviewed-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/Makefile
drivers/infiniband/hw/hns/hns_roce_cmd.c
drivers/infiniband/hw/hns/hns_roce_cq.c
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_eq.c [deleted file]
drivers/infiniband/hw/hns/hns_roce_eq.h [deleted file]
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
drivers/infiniband/hw/hns/hns_roce_hw_v1.h
drivers/infiniband/hw/hns/hns_roce_main.c
drivers/infiniband/hw/hns/hns_roce_qp.c