linux/drivers/infiniband/ulp/ipoib
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
..
ipoib.h IPoIB: Remove unused struct ipoib_cm_tx.ibwc member 2008-02-14 10:30:50 -08:00
ipoib_cm.c IPoIB: Allocate priv->tx_ring with vmalloc() 2008-03-12 07:51:03 -07:00
ipoib_fs.c IPoIB: Constify seq_operations function pointer tables 2008-01-25 14:17:46 -08:00
ipoib_ib.c IPoIB: On P_Key change event, reset state properly 2008-02-14 10:15:06 -08:00
ipoib_main.c IPoIB: Allocate priv->tx_ring with vmalloc() 2008-03-12 07:51:03 -07:00
ipoib_multicast.c IPoIB: Don't drop multicast sends when they can be queued 2008-03-11 14:12:03 -07:00
ipoib_verbs.c IPoIB: Add send gather support 2008-02-08 14:32:37 -08:00
ipoib_vlan.c IPoIB: Allow setting policy to ignore multicast groups 2007-10-10 13:02:30 -07:00
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
Makefile IPoIB: Connected mode experimental support 2007-02-10 08:00:48 -08:00