summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/srq.c
diff options
context:
space:
mode:
authorKumar Sanghvi2011-10-24 17:50:22 +0200
committerRoland Dreier2011-10-31 19:33:17 +0100
commitf7cc25d018f1e9af6767ee7774bbe83452e9fdf4 (patch)
tree43d10d7038f8295b4ad92e938b0c705db5ce58b3 /drivers/net/ethernet/mellanox/mlx4/srq.c
parentLinux 3.1-rc9 (diff)
downloadkernel-qcow2-linux-f7cc25d018f1e9af6767ee7774bbe83452e9fdf4.tar.gz
kernel-qcow2-linux-f7cc25d018f1e9af6767ee7774bbe83452e9fdf4.tar.xz
kernel-qcow2-linux-f7cc25d018f1e9af6767ee7774bbe83452e9fdf4.zip
RDMA/cxgb3: Serialize calls to CQ's comp_handler
iw_cxgb3 has a potential problem where a CQ's comp_handler can get called simultaneously from different places in iw_cxgb3 driver. This does not comply with Documentation/infiniband/core_locking.txt, which states that at a given point of time, there should be only one callback per CQ should be active. Such problem was reported by Parav Pandit <Parav.Pandit@Emulex.Com> for iw_cxgb4 driver. Based on discussion between Parav Pandit and Steve Wise, this patch fixes the above problem by serializing the calls to a CQ's comp_handler using a spin_lock. Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com> Acked-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/srq.c')
0 files changed, 0 insertions, 0 deletions