android_kernel_motorola_sm6225/drivers/infiniband
Roland Dreier 10313cbb92 IPoIB: Allocate priv->tx_ring with vmalloc()
Commit 7143740d ("IPoIB: Add send gather support") made struct
ipoib_tx_buf significantly larger, since the mapping member changed
from a single u64 to an array with MAX_SKB_FRAGS + 1 entries.  This
means that allocating tx_rings with kzalloc() may fail because there
is not enough contiguous memory for the new, much bigger size.  Fix
this regression by allocating the rings with vmalloc() instead.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-03-12 07:51:03 -07:00
..
core RDMA/iwcm: Don't access a cm_id after dropping reference 2008-03-10 21:22:22 -07:00
hw IB/ipath: Reset the retry counter for RDMA_READ_RESPONSE_MIDDLE packets 2008-03-11 14:04:35 -07:00
ulp IPoIB: Allocate priv->tx_ring with vmalloc() 2008-03-12 07:51:03 -07:00
Kconfig RDMA/nes: Add a driver for NetEffect RNICs 2008-02-04 20:20:45 -08:00
Makefile RDMA/nes: Add a driver for NetEffect RNICs 2008-02-04 20:20:45 -08:00