[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1594180136-15912-1-git-send-email-tanhuazhong@huawei.com>
Date: Wed, 8 Jul 2020 11:48:54 +0800
From: Huazhong Tan <tanhuazhong@...wei.com>
To: <davem@...emloft.net>, <willemb@...gle.com>
CC: <netdev@...r.kernel.org>, <linuxarm@...wei.com>, <kuba@...nel.org>,
Huazhong Tan <tanhuazhong@...wei.com>
Subject: [RFC net-next 0/2] net: two updates related to UDP GSO
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
Powered by blists - more mailing lists