From: Ilya Matveychikov <matvejchikov@gmail.com>
To: Edward Cree <ecree@solarflare.com>
Cc: netdev@vger.kernel.org, Aleksey.Baulin@gmail.com
Subject: Re: A couple of questions about the SKB fragments
Date: Sat, 7 May 2016 12:21:01 +0300 [thread overview]
Message-ID: <CAKh5naYgXko0NBefiNXio7_oPQmmuEtSw4BXCZFMmjshFriYMA@mail.gmail.com> (raw)
In-Reply-To: <572B2AEE.1020802@solarflare.com>
2016-05-05 14:13 GMT+03:00 Edward Cree <ecree@solarflare.com>:
> On 05/05/16 08:40, Ilya Matveychikov wrote:
> > Is there any docs except the kernel sources itself to refer to?
> davem has some docs up at http://vger.kernel.org/~davem/skb.html and
> http://vger.kernel.org/~davem/skb_data.html
> In particular note the following:
> "The frag_list is used to maintain a chain of SKBs organized for
> fragmentation purposes, it is _not_ used for maintaining paged data."
> So my reading would suggest there is no way to multiple-layer-fragment
> an SKB; the frags are page pointers and offsets, not entire sk_buff
> structs in their own right.
>
Seems that the docs is slightly outdated. I think the structure of SKB does
not impose any restrictions on the nesting of the fragments. But is there
any of them in the kernel's code?
prev parent reply other threads:[~2016-05-07 9:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-05 7:40 A couple of questions about the SKB fragments Ilya Matveychikov
2016-05-05 11:13 ` Edward Cree
2016-05-05 12:58 ` Sowmini Varadhan
2016-05-07 9:21 ` Ilya Matveychikov [this message]
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=CAKh5naYgXko0NBefiNXio7_oPQmmuEtSw4BXCZFMmjshFriYMA@mail.gmail.com \
--to=matvejchikov@gmail.com \
--cc=Aleksey.Baulin@gmail.com \
--cc=ecree@solarflare.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).