mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kallol Biswas <kallol.biswas@s2io.com>
To: linux-kernel@vger.kernel.org
Subject: receive path with fragmented skbs
Date: 30 Jan 2004 15:12:24 -0800	[thread overview]
Message-ID: <1075504343.21310.23.camel@localhost.localdomain> (raw)

Hello,
      We have been developing drivers and networking software  on
a 10 gigabit ethernet adapter from S2io Inc (www.s2io.com). There is a
requirement that the ethernet header, IP+TCP headers have to be cache
aligned and the payload and the IP+TCP headers have to be in different
fragments. So we have created receive path skbs with data size big
enough to hold the ethernet header and two fragments, one fragment for
the IP+TCP header and the other for payload. The card can  directly dma
into the three receive scatter buffers when a frame arrives.

We could not get ping working with this design of receive skbs,
but if a skb is linearized with skb_linearize() before calling
netif_rx(), ping works.

/proc/net/snmp was printed, no frame had any error. Probably no one has
ever tested the receive path of the stack with fragmented skbs, am I
right? One of the ways this problem can be debugged is to find out where
exactly the packets get dropped. Any comment?

Kallol 


             reply	other threads:[~2004-01-30 23:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-30 23:12 Kallol Biswas [this message]
2004-01-31  7:36 ` Fwd: " 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=1075504343.21310.23.camel@localhost.localdomain \
    --to=kallol.biswas@s2io.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®