IB/mlx4: Check if SRQ is full when posting receive
authorRoland Dreier <rolandd@cisco.com>
Mon, 21 May 2007 03:19:24 +0000 (20:19 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 21 May 2007 03:19:24 +0000 (20:19 -0700)
commit56a8c8b6ac4d6edba5153d17730aaf96ba8f1f8c
treefc28e73631879993d822f4623633caed0e1daa58
parent2446304dd687488c054d0437f2aeef1ef2bfbd02
IB/mlx4: Check if SRQ is full when posting receive

Make mlx4_post_srq_recv() fail if the SRQ is full (head == tail).

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/srq.c