linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Muli Ben-Yehuda <mulix@mulix.org>
To: "Sirotkin, Alexander" <demiurg@ti.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: skb fragmentation
Date: Tue, 13 Jan 2004 11:48:53 +0200	[thread overview]
Message-ID: <20040113094853.GY680@actcom.co.il> (raw)
In-Reply-To: <4003B134.7040707@ti.com>

[-- Attachment #1: Type: text/plain, Size: 806 bytes --]

On Tue, Jan 13, 2004 at 10:49:56AM +0200, Sirotkin, Alexander wrote:

> I've seen a couple of drivers (for instance - e100) using fragmented skb 
> on transmit path.
> I was wondering, how one can do the same on receive  ?

How? build a fragmented skb on the receive path and send it
upwards. Last I looked at the relevant code (2.4.something), however,
the tcp/ip stack called skb_linearize() on the skb on its way up, so
you wouldn't gain anything unless you teach it to deal with fragmented
skb's all the way up. That's just what I recall - this subject was
discussed several times in the past, look in the archives for details.

Cheers, 
Muli 
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/

"the nucleus of linux oscillates my world" - gccbot@#offtopic


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-01-13  9:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-13  8:49 skb fragmentation Sirotkin, Alexander
2004-01-13  9:48 ` Muli Ben-Yehuda [this message]
     [not found] <1dszh-7Gs-5@gated-at.bofh.it>
     [not found] ` <1dtvl-1w4-5@gated-at.bofh.it>
2004-01-13 10:10   ` Andi Kleen

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=20040113094853.GY680@actcom.co.il \
    --to=mulix@mulix.org \
    --cc=demiurg@ti.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;
as well as URLs for NNTP newsgroup(s).