IPoIB: Make send and receive queue sizes tunable
authorShirley Ma <xma@us.ibm.com>
Mon, 10 Apr 2006 16:43:58 +0000 (09:43 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 10 Apr 2006 16:43:58 +0000 (09:43 -0700)
commit0f4852513fb07405ce88da40d8c497060561246e
tree4221d43a7868b0431d7564601017d8f1449cd13d
parentf2de3b06126ddb07d0e4617225d74dce0855add3
IPoIB: Make send and receive queue sizes tunable

Make IPoIB's send and receive queue sizes tunable via module
parameters ("send_queue_size" and "recv_queue_size").  This allows the
queue sizes to be enlarged to fix disastrously bad performance on some
platforms and workloads, without bloating memory usage when large
queues aren't needed.

Signed-off-by: Shirley Ma <xma@us.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib.h
drivers/infiniband/ulp/ipoib/ipoib_ib.c
drivers/infiniband/ulp/ipoib/ipoib_main.c
drivers/infiniband/ulp/ipoib/ipoib_verbs.c