All of lore.kernel.org
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: "\"기상원 (SW Ki)\"" <oprsystem@telechips.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [question] how can i make to 32bit aligned address for the 'data' field of sk_buff structure ?
Date: Thu, 24 Jan 2013 10:27:38 -0600	[thread overview]
Message-ID: <510160FA.2020002@lwfinger.net> (raw)
In-Reply-To: <F4F751F96C54D346898D4C77E196E3DB0A3F6C6D@telegweb.telechips.com>

On 01/24/2013 05:58 AM, 기상원 (SW Ki) wrote:
> hello everyone.
> 
> i have question. i want to use DMA for the 'data' field of sk_buff structure.
> but sometimes, the 'data' field of sk_buff structure is not 32bit aligned.
> so, how can i make to 32bit aligned address for the 'data' field of sk_buff structure ?

A standard sk_buff should meet all the alignment requirements for your
architecture. Could you provide more details about your architecture and an
example where the sk_buff does not have the correct alignment?

Larry



  reply	other threads:[~2013-01-24 16:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-24 11:58 [question] how can i make to 32bit aligned address for the 'data' field of sk_buff structure ? 기상원 (SW Ki)
2013-01-24 16:27 ` Larry Finger [this message]
2013-01-25  1:47   ` 기상원 (SW Ki)

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=510160FA.2020002@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=oprsystem@telechips.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.