RDMA/qedr: Remove CQ spinlock from CM completion handlers
authorRam Amrani <Ram.Amrani@Cavium.com>
Tue, 24 Jan 2017 11:50:36 +0000 (13:50 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 24 Jan 2017 20:34:43 +0000 (15:34 -0500)
commit91bff997db2ec04f9ba761a55c21642f9803b06c
tree996248c89762916f3d5be570a096adc722a9889c
parent59e8970b3798e4cbe575ed9cf4d53098760a2a86
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>
drivers/infiniband/hw/qedr/qedr.h
drivers/infiniband/hw/qedr/qedr_cm.c