]> git.baikalelectronics.ru Git - kernel.git/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)
commitba4f541aa4fce90fca0fafb8ce1663f2cac7736a
treec7d26293d06c88e4831851ac6362b3b7e3fa69de
parent2d657411498690d93b204ae5f1b0072bbccf29dd
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