All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: jbenc@redhat.com, therbert@google.com
Cc: Netdev <netdev@vger.kernel.org>, linux-kernel@vger.kernel.org
Subject: GSO with udp_tunnel_xmit_skb
Date: Thu, 5 Nov 2015 11:52:06 +0100	[thread overview]
Message-ID: <CAHmME9pphqXyV_+LFQ6TTi4MjFB2Mopss6QQuT3YJQzvgtib2Q@mail.gmail.com> (raw)

Hi folks,

When sending arbitrary SKBs with udp_tunnel_xmit_skb, the networking
stack does not appear to be utilizing UFO on the outgoing UDP packets,
which significantly caps the transmission speed. I see about 50% CPU
usage in this send path, triggered for every single outgoing packet.
Is there a particular skb option I need to set to enable this? I read
Tom's patch [1] from last year, but this seems to be about setting the
inner packet type. In my case, the inner type is opaque encrypted
data, so there's not a relevant setting.

Thanks,
Jason

[1] http://thread.gmane.org/gmane.linux.network/332194

             reply	other threads:[~2015-11-05 10:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-05 10:52 Jason A. Donenfeld [this message]
2015-11-06  7:19 ` GSO with udp_tunnel_xmit_skb Tom Herbert
2015-11-06 11:48   ` Jason A. Donenfeld
2015-11-07 17:19     ` Maciej Żenczykowski
2015-11-07 22:39       ` Jason A. Donenfeld
2015-11-07 23:40         ` Maciej Żenczykowski
2015-11-08 10:36           ` Jason A. Donenfeld
2015-11-08 10:57             ` Herbert Xu
2015-11-08 14:57               ` Jason A. Donenfeld
2015-11-09  1:40                 ` Herbert Xu
2015-11-09  2:23                   ` Jason A. Donenfeld
2015-11-09  3:18                     ` Maciej Żenczykowski

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=CAHmME9pphqXyV_+LFQ6TTi4MjFB2Mopss6QQuT3YJQzvgtib2Q@mail.gmail.com \
    --to=jason@zx2c4.com \
    --cc=jbenc@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=therbert@google.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.