netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC net-next 0/2] net: two updates related to UDP GSO
@ 2020-07-08  3:48 Huazhong Tan
  2020-07-08  3:48 ` [RFC net-next 1/2] udp: add NETIF_F_GSO_UDP_L4 to NETIF_F_SOFTWARE_GSO Huazhong Tan
  2020-07-08  3:48 ` [RFC net-next 2/2] net: disable UDP GSO feature when CSUM is disabled Huazhong Tan
  0 siblings, 2 replies; 13+ messages in thread
From: Huazhong Tan @ 2020-07-08  3:48 UTC (permalink / raw)
  To: davem, willemb; +Cc: netdev, linuxarm, kuba, Huazhong Tan

There are two updates related to UDP GSO.
#1 adds NETIF_F_GSO_UDP_L4 to NETIF_F_SOFTWARE_GSO, then the virtual
device can postpone its UDP GSO to physical device, as extention to
commit 83aa025f535f ("udp: add gso support to virtual devices").
#2 disable UDP GSO feature when CSUM is disabled. Currently, when
disabled CSUM, sending a UDP packet who needs segmentation will will
fail, but from user-space the UDP GSO feature is enabled, so disble
UDP GSO feature when CSUM disabled just like what TSO does now.

Huazhong Tan (2):
  udp: add NETIF_F_GSO_UDP_L4 to NETIF_F_SOFTWARE_GSO
  net: disable UDP GSO feature when CSUM is disabled

 include/linux/netdev_features.h | 2 +-
 net/core/dev.c                  | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-07-09 13:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08  3:48 [RFC net-next 0/2] net: two updates related to UDP GSO Huazhong Tan
2020-07-08  3:48 ` [RFC net-next 1/2] udp: add NETIF_F_GSO_UDP_L4 to NETIF_F_SOFTWARE_GSO Huazhong Tan
2020-07-08  5:26   ` Eric Dumazet
2020-07-09  2:16     ` tanhuazhong
2020-07-09  2:28       ` Eric Dumazet
2020-07-08 12:11   ` Willem de Bruijn
2020-07-09  2:49     ` tanhuazhong
2020-07-09 13:34       ` Willem de Bruijn
2020-07-08  3:48 ` [RFC net-next 2/2] net: disable UDP GSO feature when CSUM is disabled Huazhong Tan
2020-07-08  5:36   ` Eric Dumazet
2020-07-09  2:30     ` tanhuazhong
2020-07-09  2:47       ` Eric Dumazet
2020-07-09  2:55         ` tanhuazhong

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).