This series redefine/rename/remove some interfaces to improve readability and maintainability of codes of CQ in hip08. The 4th patch has conflict with "RDMA/hns: Add support for reporting wc as software mode", will send a rebased one if any of them was applied. Yixian Liu (4): RDMA/hns: Redefine interfaces used in creating cq RDMA/hns: Redefine the member of hns_roce_cq struct RDMA/hns: Rename the functions used inside creating cq RDMA/hns: Delete unnecessary callback functions for cq drivers/infiniband/hw/hns/hns_roce_cmd.h | 4 +- drivers/infiniband/hw/hns/hns_roce_cq.c | 271 +++++++++++----------------- drivers/infiniband/hw/hns/hns_roce_device.h | 27 +-- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 26 ++- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 13 +- drivers/infiniband/hw/hns/hns_roce_main.c | 4 +- 6 files changed, 141 insertions(+), 204 deletions(-) -- 2.8.1