IB/mad: Allow tuning of QP0 and QP1 sizes
authorHal Rosenstock <hnrose@comcast.net>
Mon, 7 Sep 2009 15:28:48 +0000 (08:28 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 7 Sep 2009 15:28:48 +0000 (08:28 -0700)
commitb76aabc3956e9b95e7b7dc1aeecb8c6caf57f74c
treea2ac2bf6dcfbae5c27ef3a42b1fbeb4c75677fd6
parent6b2eef8fd78ff909c3396b8671d57c42559cc51d
IB/mad: Allow tuning of QP0 and QP1 sizes

MADs are UD and can be dropped if there are no receives posted, so
allow receive queue size to be set with a module parameter in case the
queue needs to be lengthened.  Send side tuning is done for symmetry
with receive.

Signed-off-by: Hal Rosenstock <hal.rosenstock@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/mad.c
drivers/infiniband/core/mad_priv.h