[ofa-general] [PATCH 2/16] ib/ipoib: Add s/g support for IPOIB

Eli Cohen eli at dev.mellanox.co.il
Sat Jan 26 14:14:41 PST 2008


On Thu, Jan 24, 2008 at 12:06:30PM -0800, Shirley Ma wrote:
>       Can you make IPoIB-CM rx S/G functions more generic so it can be
> reused here for IPoIB UD tx S/G?
> 
I am not sure I understand your intention. This patch provides an API
for mapping/unmapping tx UD SKBs:

static inline int ipoib_dma_map_tx(struct ib_device *ca,
                                   struct ipoib_tx_buf *tx_req);

static inline void ipoib_dma_unmap_tx(struct ib_device *ca,
				      struct ipoib_tx_buf *tx_req);




More information about the general mailing list