]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
IPoIB/cm: Use vmalloc() to allocate rx_rings
authorDavid J. Wilder <dwilder@us.ibm.com>
Fri, 8 Aug 2008 22:51:29 +0000 (15:51 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 8 Aug 2008 22:51:29 +0000 (15:51 -0700)
commitb1404069f64457c94de241738fdca142c2e5698f
tree671e50585d0baf9f01b1a8b301ca650087d87012
parentf2d7499be1b1fe1cd8a5e6a01c1f44173894a241
IPoIB/cm: Use vmalloc() to allocate rx_rings

There are users that are running UDP applications that require a large
receive queue size in order to get good performance.  To prevent
allocation failures for rx_rings when using non-SRQ mode and large
recv_queue_size (1K or larger), use vmalloc() instead of kcalloc() to
alocate rx_rings.

Signed-off-by: David Wilder <dwilder@us.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c