netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: 양유석 <ileixe@gmail.com>
To: netdev@vger.kernel.org
Subject: How net_device feature flag of 'tx-udp_tnl-segmetnation' is decided?
Date: Fri, 7 Jun 2019 15:56:48 +0900	[thread overview]
Message-ID: <CAFAx9ab=Wys2QU+nsh-O_XyOKw9T1ACziphzRW4ARYAwA30xEw@mail.gmail.com> (raw)

Hi netdev!

I'm kernel newbie and I'm not sure it's right place to ask though, if
not please let me know the right place. :)

I sent this mail to ask about net_device interface feature called
'tx-udp_tnl-segmentation'. Ethtool does not appear correct status of
offloading, even if the vxlan offloading is enabled. Ethtool show like
below for vxlan interface.

deploy@krane-pg1-com1000:~$ ethtool --show-offload vxlan100
Features for vxlan100:
tx-udp_tnl-segmentation: off [fixed]

deploy@krane-pg1-com1000:~$ ethtool --show-offload eth0
Features for eth0:
tx-udp_tnl-csum-segmentation: on

Tcpdumping show offload is correctly applied in vxlan interface, so I
wonder this is bug for vxlan implementation. I found
drivers/net/vxlan.c does not set the feature SKB_GSO_UDP_TUNNEL, just
applying the flag at creation time. Is it bug or something that I
misunderstood?

Thanks in advance!

Best regards

Yang Youseok

             reply	other threads:[~2019-06-07  6:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-07  6:56 양유석 [this message]
2019-06-07 23:08 ` How net_device feature flag of 'tx-udp_tnl-segmetnation' is decided? Jakub Kicinski

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='CAFAx9ab=Wys2QU+nsh-O_XyOKw9T1ACziphzRW4ARYAwA30xEw@mail.gmail.com' \
    --to=ileixe@gmail.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).