From: Jiri Benc <jbenc@redhat.com>
To: Sabrina Dubroca <sd@queasysnail.net>
Cc: netdev@vger.kernel.org,
Hannes Frederic Sowa <hannes@stressinduktion.org>
Subject: Re: [PATCH net-next 1/6] net: add new netdevice feature for tunnel offloading
Date: Fri, 30 Jun 2017 17:50:01 +0200 [thread overview]
Message-ID: <20170630175001.1969a85a@griffin> (raw)
In-Reply-To: <79e58d61b15ff497524cde07c00c2165cf033ef2.1498743778.git.sd@queasysnail.net>
On Fri, 30 Jun 2017 15:19:45 +0200, Sabrina Dubroca wrote:
> This adds a new netdevice feature, so that tunnel offloading can be
> disabled by the administrator on some netdevices, using the
> "tunnel-offload" ethtool feature.
>
> This feature is set for all devices that provide ndo_udp_tunnel_add.
This patchset looks great, Sabrina! A few comments below.
> --- a/include/linux/netdev_features.h
> +++ b/include/linux/netdev_features.h
> @@ -76,6 +76,7 @@ enum {
> NETIF_F_HW_TC_BIT, /* Offload TC infrastructure */
> NETIF_F_HW_ESP_BIT, /* Hardware ESP transformation offload */
> NETIF_F_HW_ESP_TX_CSUM_BIT, /* ESP with TX checksum offload */
> + NETIF_F_TUNNEL_OFFLOAD_BIT, /* Tunnel offloads */
"Tunnel offload" is very broad. Could we be more specific, e.g. "RSS
tunnel offload" or such? NETIF_F_HW_TUNNEL_RSS?
> --- a/net/core/ethtool.c
> +++ b/net/core/ethtool.c
> @@ -106,6 +106,7 @@ static const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN]
> [NETIF_F_HW_TC_BIT] = "hw-tc-offload",
> [NETIF_F_HW_ESP_BIT] = "esp-hw-offload",
> [NETIF_F_HW_ESP_TX_CSUM_BIT] = "esp-tx-csum-hw-offload",
> + [NETIF_F_TUNNEL_OFFLOAD_BIT] = "tunnel-offload",
> };
And here, too. "rss-tunnel-offload"?
Thanks!
Jiri
next prev parent reply other threads:[~2017-06-30 15:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-30 13:19 [PATCH net-next 0/6] Allow to switch off UDP-based tunnel offloads per netdevice Sabrina Dubroca
2017-06-30 13:19 ` [PATCH net-next 1/6] net: add new netdevice feature for tunnel offloading Sabrina Dubroca
2017-06-30 15:50 ` Jiri Benc [this message]
2017-07-04 14:37 ` Sabrina Dubroca
2017-06-30 13:19 ` [PATCH net-next 2/6] net: check tunnel offload feature before calling tunnel ndo ndo Sabrina Dubroca
2017-06-30 13:19 ` [PATCH net-next 3/6] net: add infrastructure to un-offload UDP tunnel port Sabrina Dubroca
2017-06-30 13:19 ` [PATCH net-next 4/6] net: call udp_tunnel_get_rx_info when NETIF_F_TUNNEL_OFFLOAD is toggled Sabrina Dubroca
2017-06-30 13:19 ` [PATCH net-next 5/6] geneve/vxlan: add support for NETDEV_UDP_TUNNEL_DROP_INFO Sabrina Dubroca
2017-06-30 13:19 ` [PATCH net-next 6/6] geneve/vxlan: offload ports on register/unregister events Sabrina Dubroca
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=20170630175001.1969a85a@griffin \
--to=jbenc@redhat.com \
--cc=hannes@stressinduktion.org \
--cc=netdev@vger.kernel.org \
--cc=sd@queasysnail.net \
/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).