---------- Forwarded message ---------- From: Keyur Chudgar <[EMAIL PROTECTED]> Date: Dec 28, 2007 4:53 PM Subject: Re: skbuff data pointer alignment requirement To: Jarek Poplawski <[EMAIL PROTECTED]>
Hi Jarek, > Do you mean hardware requirements of an architecture or a specific driver? I meant any hardware requirements of an architecture. > So, if you have more than one network card, is it needed by all of them, > while other (not network) drivers are happy with default allocations? Yes. So, anything related to skbuff data block, will need specific alignment requirements, while others (non-network drivers) will work as default. Thanks, - Keyur On Dec 22, 2007 3:00 AM, Jarek Poplawski <[EMAIL PROTECTED]> wrote: > Keyur Chudgar wrote, On 12/21/2007 02:12 AM: > ... > > > If some hardware requirements, for example is, they need to have 256 > > bytes aligned address for them to do the DMA, no matter what the > > packet size is. In this kind of cases, can you guide me what should I > > do? Is there any way already in Linux I can do this? > > ... > > > In the above specified situation, I can define SKB_ADDR_MIN_ALIGN = > > 256 in my Makefile or I don't define it at all if I am okay with > > default alignment size. > > Do you mean hardware requirements of an architecture or a specific driver? > So, if you have more than one network card, is it needed by all of them, > while other (not network) drivers are happy with default allocations? > > Regards, > Jarek P. > -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html