From 2c2cd3afe78ecbc51721d42cfe7e77eea0700617 Mon Sep 17 00:00:00 2001 From: Denis Kirjanov Date: May 16 2023 12:12:09 +0000 Subject: sunvnet: does not support GSO for sctp (git-fixes). --- diff --git a/patches.suse/sunvnet-does-not-support-GSO-for-sctp.patch b/patches.suse/sunvnet-does-not-support-GSO-for-sctp.patch new file mode 100644 index 0000000..401fd8e --- /dev/null +++ b/patches.suse/sunvnet-does-not-support-GSO-for-sctp.patch @@ -0,0 +1,37 @@ +From 15f8e04409aedb5e33e6e662b128b9643d17a7f3 Mon Sep 17 00:00:00 2001 +From: Cathy Zhou +Date: Wed, 14 Mar 2018 10:56:07 -0700 +Subject: [PATCH 5/8] sunvnet: does not support GSO for sctp +References: git-fixes +Patch-mainline: v4.16-rc7 +Git-commit: cf55612a945039476abfd73e39064b2e721c3272 + +The NETIF_F_GSO_SOFTWARE implies support for GSO on SCTP, but the +sunvnet driver does not support GSO for sctp. Here we remove the +NETIF_F_GSO_SOFTWARE feature flag and only report NETIF_F_ALL_TSO +instead. + +Signed-off-by: Cathy Zhou +Signed-off-by: Shannon Nelson +Signed-off-by: David S. Miller +Signed-off-by: Denis Kirjanov +--- + drivers/net/ethernet/sun/sunvnet.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/net/ethernet/sun/sunvnet.c b/drivers/net/ethernet/sun/sunvnet.c +index e9e4b582082b..6e0947d69048 100644 +--- a/drivers/net/ethernet/sun/sunvnet.c ++++ b/drivers/net/ethernet/sun/sunvnet.c +@@ -312,7 +312,7 @@ static struct vnet *vnet_new(const u64 *local_mac, + dev->ethtool_ops = &vnet_ethtool_ops; + dev->watchdog_timeo = VNET_TX_TIMEOUT; + +- dev->hw_features = NETIF_F_TSO | NETIF_F_GSO | NETIF_F_GSO_SOFTWARE | ++ dev->hw_features = NETIF_F_TSO | NETIF_F_GSO | NETIF_F_ALL_TSO | + NETIF_F_HW_CSUM | NETIF_F_SG; + dev->features = dev->hw_features; + +-- +2.16.4 + diff --git a/series.conf b/series.conf index ece1e02..3d09a0f 100644 --- a/series.conf +++ b/series.conf @@ -25586,6 +25586,7 @@ patches.suse/tg3-prevent-scheduling-while-atomic-splat.patch patches.suse/can-cc770-Fix-stalls-on-rt-linux-remove-redundant-IR patches.suse/can-cc770-Fix-queue-stall-dropped-RTR-reply + patches.suse/sunvnet-does-not-support-GSO-for-sctp.patch patches.suse/s390-sles15sp1-00-11-062-net-smc-simplify-wait-when-closing-listen-socket.patch patches.suse/net-sched-actions-return-explicit-error-when-tunnel_.patch patches.suse/0010-net-Fix-vlan-untag-for-bridge-and-vlan_dev-with-reor.patch