1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/infiniband/hw/irdma
Tatyana Nikolova 10467ce09f RDMA/irdma: Don't arm the CQ more than two times if no CE for this CQ
Completion events (CEs) are lost if the application is allowed to arm the
CQ more than two times when no new CE for this CQ has been generated by
the HW.

Check if arming has been done for the CQ and if not, arm the CQ for any
event otherwise promote to arm the CQ for any event only when the last arm
event was solicited.

Fixes: b48c24c2d7 ("RDMA/irdma: Implement device supported verb APIs")
Link: https://lore.kernel.org/r/20211201231509.1930-2-shiraz.saleem@intel.com
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-12-07 13:53:01 -04:00
..
cm.c RDMA/irdma: Skip CQP ring during a reset 2021-09-20 14:13:22 -03:00
cm.h RDMA: Constify netdev->dev_addr accesses 2021-10-25 14:33:09 -03:00
ctrl.c RDMA/irdma: Make irdma_uk_cq_init() return a void 2021-10-20 19:54:16 -03:00
defs.h RDMA/irdma: Implement HW Admin Queue OPs 2021-06-02 19:55:17 -03:00
hmc.c RDMA/irdma: Add HMC backing store setup functions 2021-06-02 19:55:17 -03:00
hmc.h RDMA/irdma: Add HMC backing store setup functions 2021-06-02 19:55:17 -03:00
hw.c RDMA/irdma: Don't arm the CQ more than two times if no CE for this CQ 2021-12-07 13:53:01 -04:00
i40iw_hw.c RDMA/irdma: Implement device initialization definitions 2021-06-02 19:55:16 -03:00
i40iw_hw.h RDMA/irdma: Implement device initialization definitions 2021-06-02 19:55:16 -03:00
i40iw_if.c RDMA/irdma: Skip CQP ring during a reset 2021-09-20 14:13:22 -03:00
icrdma_hw.c RDMA/irdma: Implement device initialization definitions 2021-06-02 19:55:16 -03:00
icrdma_hw.h RDMA/irdma: Implement device initialization definitions 2021-06-02 19:55:16 -03:00
irdma.h RDMA/irdma: Implement HW Admin Queue OPs 2021-06-02 19:55:17 -03:00
Kconfig RDMA/irdma: Use correct kconfig symbol for AUXILIARY_BUS 2021-08-19 10:28:49 -03:00
main.c RDMA/irdma: Check vsi pointer before using it 2021-07-15 15:06:08 -03:00
main.h RDMA/irdma: Don't arm the CQ more than two times if no CE for this CQ 2021-12-07 13:53:01 -04:00
Makefile RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
osdep.h RDMA/irdma: Remove irdma_get_hw_addr() 2021-10-12 13:21:39 -03:00
pble.c RDMA/irdma: Fix a potential memory allocation issue in 'irdma_prm_add_pble_mem()' 2021-12-07 13:45:48 -04:00
pble.h RDMA/irdma: Fix a potential memory allocation issue in 'irdma_prm_add_pble_mem()' 2021-12-07 13:45:48 -04:00
protos.h RDMA/irdma: Remove irdma_cqp_up_map_cmd() 2021-10-12 13:21:40 -03:00
puda.c RDMA/irdma: Use list_last_entry/list_first_entry 2021-06-08 20:04:00 -03:00
puda.h RDMA/irdma: Add privileged UDA queue implementation 2021-06-02 19:55:17 -03:00
status.h RDMA/irdma: Add miscellaneous utility definitions 2021-06-02 19:55:19 -03:00
trace.c RDMA/irdma: Add dynamic tracing for CM 2021-06-02 19:55:19 -03:00
trace.h RDMA/irdma: Add dynamic tracing for CM 2021-06-02 19:55:19 -03:00
trace_cm.h RDMA: Constify netdev->dev_addr accesses 2021-10-25 14:33:09 -03:00
type.h RDMA/irdma: Remove the unused variable local_qp 2021-10-28 08:58:26 -03:00
uda.c RDMA/irdma: Add RoCEv2 UD OP support 2021-06-02 19:55:18 -03:00
uda.h RDMA/irdma: Add RoCEv2 UD OP support 2021-06-02 19:55:18 -03:00
uda_d.h RDMA/irdma: Add RoCEv2 UD OP support 2021-06-02 19:55:18 -03:00
uk.c Linux 5.15 2021-11-01 14:49:20 -03:00
user.h RDMA/irdma: optimize rx path by removing unnecessary copy 2021-11-01 14:39:33 -03:00
utils.c RDMA/irdma: Don't arm the CQ more than two times if no CE for this CQ 2021-12-07 13:53:01 -04:00
verbs.c RDMA/irdma: Don't arm the CQ more than two times if no CE for this CQ 2021-12-07 13:53:01 -04:00
verbs.h RDMA/irdma: Don't arm the CQ more than two times if no CE for this CQ 2021-12-07 13:53:01 -04:00
ws.c RDMA/irdma: Do not hold qos mutex twice on QP resume 2021-10-19 20:22:01 -03:00
ws.h RDMA/irdma: Add QoS definitions 2021-06-02 19:55:17 -03:00