From: Steffen Klassert <steffen.klassert@secunet.com>
To: Alexander Duyck <alexander.duyck@gmail.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>,
Sowmini Varadhan <sowmini.varadhan@oracle.com>,
Netdev <netdev@vger.kernel.org>
Subject: Re: [RFC PATCH] gro: Partly revert "net: gro: allow to build full sized skb"
Date: Fri, 22 Apr 2016 10:51:07 +0200 [thread overview]
Message-ID: <20160422085107.GJ3347@gauss.secunet.com> (raw)
In-Reply-To: <CAKgT0Uc-MfZseKauJMW+xh+5LTEww6hcWmuXeCATsDA+Z-POsQ@mail.gmail.com>
On Thu, Apr 21, 2016 at 09:02:48AM -0700, Alexander Duyck wrote:
> On Thu, Apr 21, 2016 at 12:40 AM, Steffen Klassert
> <steffen.klassert@secunet.com> wrote:
> > This partly reverts the below mentioned patch because on
> > forwarding, such skbs can't be offloaded to a NIC.
> >
> > We need this to get IPsec GRO for forwarding to work properly,
> > otherwise the GRO aggregated packets get segmented again by
> > the GSO layer. Although discovered when implementing IPsec GRO,
> > this is a general problem in the forwarding path.
>
> I'm confused as to why you would need this to get IPsec GRO forwarding
> to work.
It works without this, but the performance numbers are not that good
if we have to do GSO in software.
> Are you having to go through a device that doesn't have
> NETIF_F_FRAGLIST defined?
I don't know of any NIC that can do TSO on a skbuff with fraglist,
that's why I try to avoid to have a buffer with fraglist.
> Also what is the issue with having to go
> through the GSO layer on segmentation? It seems like we might be able
> to do something like what we did with GSO partial to split frames so
> that they are in chunks that wouldn't require NETIF_F_FRAGLIST. Then
> you could get the best of both worlds in that the stack would only
> process one super-frame, and the transmitter could TSO a series of
> frames that are some fixed MSS in size.
This could be interesting. Then we could have a buffer with
fraglist, GSO layer splits in skbuffs without fraglist that
can be TSO offloaded. Something like this might solve my
performance problems.
next prev parent reply other threads:[~2016-04-22 8:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-21 7:40 [RFC PATCH] gro: Partly revert "net: gro: allow to build full sized skb" Steffen Klassert
2016-04-21 12:59 ` Eric Dumazet
2016-04-22 9:13 ` Steffen Klassert
2016-04-22 12:39 ` Eric Dumazet
2016-04-21 16:02 ` Alexander Duyck
2016-04-22 8:51 ` Steffen Klassert [this message]
2016-04-22 17:14 ` Alexander Duyck
2016-06-24 8:22 ` Steffen Klassert
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=20160422085107.GJ3347@gauss.secunet.com \
--to=steffen.klassert@secunet.com \
--cc=alexander.duyck@gmail.com \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=sowmini.varadhan@oracle.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 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).