1
0
Fork 0
alistair23-linux/drivers/infiniband/hw/hns
Yixian Liu d8cc403b70 RDMA/hns: Simplify AEQE process for different types of queue
There is no need to get queue number repeatly for different queues from an
AEQE entity, as they are the same. Furthermore, redefine the AEQE
structure to make the codes more readable.

In addition, HNS_ROCE_EVENT_TYPE_CEQ_OVERFLOW is removed because the
hardware never reports this event.

Link: https://lore.kernel.org/r/1607650657-35992-12-git-send-email-liweihang@huawei.com
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-12-11 15:21:35 -04:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile RDMA/hns: Fix build error again 2019-10-29 16:16:54 -03:00
hns_roce_ah.c RDMA/hns: Avoid filling sl in high 3 bits of vlan_id 2020-12-11 15:21:34 -04:00
hns_roce_alloc.c RDMA/hns: Fix inaccurate prints 2020-12-11 15:21:35 -04:00
hns_roce_cmd.c RDMA/hns: Fix incorrect symbol types 2020-12-11 15:21:35 -04:00
hns_roce_cmd.h RDMA/hns: Fix incorrect symbol types 2020-12-11 15:21:35 -04:00
hns_roce_common.h RDMA/hns: Fix incorrect symbol types 2020-12-11 15:21:35 -04:00
hns_roce_cq.c RDMA/hns: Fix inaccurate prints 2020-12-11 15:21:35 -04:00
hns_roce_db.c RDMA/hns: Fix incorrect symbol types 2020-12-11 15:21:35 -04:00
hns_roce_device.h RDMA/hns: Simplify AEQE process for different types of queue 2020-12-11 15:21:35 -04:00
hns_roce_hem.c RDMA/hns: Fix inaccurate prints 2020-12-11 15:21:35 -04:00
hns_roce_hem.h RDMA/hns: Fix coding style issues 2020-12-11 15:21:34 -04:00
hns_roce_hw_v1.c RDMA/hns: Simplify AEQE process for different types of queue 2020-12-11 15:21:35 -04:00
hns_roce_hw_v1.h RDMA/hns: Fix coding style issues 2020-12-11 15:21:34 -04:00
hns_roce_hw_v2.c RDMA/hns: Simplify AEQE process for different types of queue 2020-12-11 15:21:35 -04:00
hns_roce_hw_v2.h RDMA/hns: Fix coding style issues 2020-12-11 15:21:34 -04:00
hns_roce_hw_v2_dfx.c RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_main.c RDMA/hns: Fix incorrect symbol types 2020-12-11 15:21:35 -04:00
hns_roce_mr.c RDMA/hns: Fix inaccurate prints 2020-12-11 15:21:35 -04:00
hns_roce_pd.c RDMA/hns: Fix inaccurate prints 2020-12-11 15:21:35 -04:00
hns_roce_qp.c RDMA/hns: Fix inaccurate prints 2020-12-11 15:21:35 -04:00
hns_roce_restrack.c RDMA: Add a dedicated CQ resource tracker function 2020-06-23 11:46:27 -03:00
hns_roce_srq.c RDMA/hns: Fix inaccurate prints 2020-12-11 15:21:35 -04:00