]> err.no Git - linux-2.6/commit
IB/mlx4: Don't allocate RQ doorbell if using SRQ
authorRoland Dreier <rolandd@cisco.com>
Wed, 23 May 2007 22:16:08 +0000 (15:16 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 23 May 2007 22:16:08 +0000 (15:16 -0700)
commit02d89b87081f516ad3993637f9b75db0d9786554
treec7d26293d06c88e4831851ac6362b3b7e3fa69de
parent8aee74c8ee875448cc6d1cf995c9469eb60ae515
IB/mlx4: Don't allocate RQ doorbell if using SRQ

If a QP is attached to a shared receive queue (SRQ), then it doesn't
have a receive queue (RQ).  So don't allocate an RQ doorbell (or map a
doorbell from userspace for userspace QPs) for that QP.

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