diff options
author | Ram Amrani <Ram.Amrani@Cavium.com> | 2017-01-24 13:50:36 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-01-24 15:34:43 -0500 |
commit | 91bff997db2ec04f9ba761a55c21642f9803b06c (patch) | |
tree | 996248c89762916f3d5be570a096adc722a9889c /drivers/infiniband/hw/qedr/qedr.h | |
parent | 59e8970b3798e4cbe575ed9cf4d53098760a2a86 (diff) | |
download | linux-91bff997db2ec04f9ba761a55c21642f9803b06c.tar.bz2 |
RDMA/qedr: Remove CQ spinlock from CM completion handlers
There is only a single event queue that triggers the completion
events for the RDMA CM and it is being processed serially. This means
that inherently there can no parallelism of CQ completion handler
callbacks, hence the lock is redundant.
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/qedr/qedr.h')
-rw-r--r-- | drivers/infiniband/hw/qedr/qedr.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/qedr/qedr.h b/drivers/infiniband/hw/qedr/qedr.h index 620badd7d4fb..94319abb0df2 100644 --- a/drivers/infiniband/hw/qedr/qedr.h +++ b/drivers/infiniband/hw/qedr/qedr.h @@ -251,9 +251,6 @@ struct qedr_cq { u16 icid; - /* Lock to protect completion handler */ - spinlock_t comp_handler_lock; - /* Lock to protect multiplem CQ's */ spinlock_t cq_lock; u8 arm_flags; |