[openib-general] [PATCH] IB/ipoib: DMA alignment on ppc64

Michael S. Tsirkin mst at mellanox.co.il
Mon Nov 13 05:30:52 PST 2006


Quoting r. Or Gerlitz <ogerlitz at voltaire.com>:
> Subject: Re: [openib-general] [PATCH] IB/ipoib: DMA alignment on ppc64
> 
> Michael S. Tsirkin wrote:
> > Unaligned DMA is slow ppc64 systems - that's why this architecture
> > overrides NET_IP_ALIGN.  IPoIB should take this into account and align
> > DMA on this platform.
> 
> Is this relevant only to IPoIB/SKB's or also to any other IB ULP (eg 
> SDP, iSER, SRP) which allocates its rx/tx buffers directly by calling 
> kmalloc ?

I would expect the unsaligned DMA penalty to apply to all ULPs.
Look up NET_IP_ALIGN and see for yourself.

-- 
MST




More information about the general mailing list