commit | b1404069f64457c94de241738fdca142c2e5698f | [log] [tgz] |
---|---|---|
author | David J. Wilder <dwilder@us.ibm.com> | Fri Aug 08 15:51:29 2008 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Fri Aug 08 15:51:29 2008 -0700 |
tree | 671e50585d0baf9f01b1a8b301ca650087d87012 | |
parent | f2d7499be1b1fe1cd8a5e6a01c1f44173894a241 [diff] |
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>