IPoIB/cm: Reduce connected mode TX object size
commite112373fd6aa280bd2cbc0d5cc3809115325a1be
authorEli Cohen <eli@dev.mellanox.co.il>
Tue, 15 Jul 2008 06:48:52 +0000 (14 23:48 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 15 Jul 2008 06:48:52 +0000 (14 23:48 -0700)
treeaaefb13c2558ab1041e63035b71ee6d114b8c906
parentdf8666198dd058b9498ebdbc52c61957206d30a5
IPoIB/cm: Reduce connected mode TX object size

Since IPoIB connected mode does not NETIF_F_SG, we only have one DMA
mapping per send, so we don't need a mapping[] array.  Define a new
struct with a single u64 mapping member and use it for the CM tx_ring.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib.h
drivers/infiniband/ulp/ipoib/ipoib_cm.c