netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jarek Poplawski <jarkao2@gmail.com>
To: Keyur Chudgar <kchudgar.linux@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: skbuff data pointer alignment requirement
Date: Sat, 22 Dec 2007 12:00:57 +0100	[thread overview]
Message-ID: <476CEE69.20902@gmail.com> (raw)
In-Reply-To: <a967d7d00712201712m6981373ife9a333be7d343e0@mail.gmail.com>

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.

  reply	other threads:[~2007-12-22 10:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-21  1:12 skbuff data pointer alignment requirement Keyur Chudgar
2007-12-22 11:00 ` Jarek Poplawski [this message]
     [not found]   ` <a967d7d00712281653m5b1a937ch898a5b48f8ee1887@mail.gmail.com>
2007-12-29  0:54     ` Fwd: " Keyur Chudgar
2007-12-29 13:04     ` Jarek Poplawski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=476CEE69.20902@gmail.com \
    --to=jarkao2@gmail.com \
    --cc=kchudgar.linux@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).