]> git.baikalelectronics.ru Git - kernel.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)
commit185c19681c543a1f55f11cb58263444f4e052663
tree671e50585d0baf9f01b1a8b301ca650087d87012
parent2453906108af35d71535d772039b8c0c227ca4ae
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