From: "David S. Miller" <davem@davemloft.net>
To: coniodiago@gmail.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: Un aligned addresses
Date: Wed, 21 Dec 2005 23:31:17 -0800 (PST) [thread overview]
Message-ID: <20051221.233117.97061334.davem@davemloft.net> (raw)
In-Reply-To: <993d182d0512212236u525b6f25wf1dcaae9c389537f@mail.gmail.com>
From: Conio sandiago <coniodiago@gmail.com>
Date: Thu, 22 Dec 2005 12:06:46 +0530
> After a lot of observation ,
> i observed that i am getting un-aligned addresses of the data payload
> from the TCP/IP stack.because of this problem i always have to do
> memcpy to a word aligned buffer,because of which throughput is reduced
> significantly.
Do skb_reserve(skb, 2), before you give the buffer at
skb->data to the chip, this will align all the headers
correctly.
next prev parent reply other threads:[~2005-12-22 7:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-22 6:36 Conio sandiago
2005-12-22 7:31 ` David S. Miller [this message]
2005-12-22 23:28 ` Willy Tarreau
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=20051221.233117.97061334.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=coniodiago@gmail.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®