Issue with the tcp-segmentation-offload options in netplan.io yaml file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan.io (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have an issue with communications on an Intel NUC. After troubleshooting the issue it was resolved by disabling the tcp-segmentatio
I am having issues getting the tcp-segmentatio
I have added the documented options in netplan.io yaml file.
Details below...
Original setting displayed using ethtool -k eno1
# ethtool -k eno1
Features for eno1:
rx-checksumming: on
tx-checksumming: on
tx-checksum-ipv4: off [fixed]
tx-checksum-
tx-checksum-ipv6: off [fixed]
tx-checksum-
tx-checksum-sctp: off [fixed]
scatter-gather: on
tx-scatter-gather: on
tx-scatter-
tcp-segmentatio
tx-tcp-
tx-tcp-
tx-tcp-
tx-tcp6-
generic-
generic-
large-receive-
rx-vlan-offload: on
tx-vlan-offload: on
ntuple-filters: off [fixed]
.
.
.
I can use the following command as root to disable the function:
ethtool -K eno1 tso off
This gives the following:
# ethtool -k eno1
Features for eno1:
rx-checksumming: on
tx-checksumming: on
tx-checksum-ipv4: off [fixed]
tx-checksum-
tx-checksum-ipv6: off [fixed]
tx-checksum-
tx-checksum-sctp: off [fixed]
scatter-gather: on
tx-scatter-gather: on
tx-scatter-
tcp-segmentatio
tx-tcp-
tx-tcp-
tx-tcp-
tx-tcp6-
generic-
generic-
large-receive-
rx-vlan-offload: on
.
.
.
However, if I set the following in the netplan yaml file:
network:
version: 2
renderer: networkd
ethernets:
eno1:
match:
macaddress: xx:xx:xx:xx:xx:xx
dhcp4: no
dhcp6: no
tcp-
tcp6-
bridges:
br0:
.
.
.
Used off, no and false as the bool value, all the same.
Either running the netplan try, or rebooting the PC, DOES NOT
set the tcp-segmentatio
After a reboot:
# ethtool -k eno1
Features for eno1:
rx-checksumming: on
tx-checksumming: on
tx-checksum-ipv4: off [fixed]
tx-checksum-
tx-checksum-ipv6: off [fixed]
tx-checksum-
tx-checksum-sctp: off [fixed]
scatter-gather: on
tx-scatter-gather: on
tx-scatter-
tcp-segmentatio
tx-tcp-
tx-tcp-
tx-tcp-
tx-tcp6-
generic-
generic-
large-receive-
rx-vlan-offload: on
tx-vlan-offload: on
ntuple-filters: off [fixed]
.
.
.
The documentation states this feature was available from version 0.104
and according to the package versioning I have that version.
Note, there is no version info running the netplan info command, Bug #1819833
# apt list netplan.io -a
Listing... Done
netplan.
netplan.io/focal 0.99-0ubuntu1 amd64
Gathering some information using:
ubuntu-debug netplan.io
ProblemType: Bug
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Fri Jun 24 13:27:19 2022
Dependencies:
adduser 3.118ubuntu2
apt 2.0.9
apt-utils 2.0.9
bzip2 1.0.8-2
ca-certificates 20211016~20.04.1
dbus 1.12.16-2ubuntu2.2
debconf 1.5.73
debconf-i18n 1.5.73
dmsetup 2:1.02.167-1ubuntu1
dpkg 1.19.7ubuntu3.2
file 1:5.38-4
gcc-10-base 10.3.0-
gir1.2-glib-2.0 1.64.1-
gpgv 2.2.19-3ubuntu2.1
iproute2 5.5.0-1ubuntu1
libacl1 2.2.53-6
libapparmor1 2.13.3-7ubuntu5.1
libapt-pkg6.0 2.0.9
libargon2-1 0~20171227-0.2
libatm1 1:2.5.1-4
libaudit-common 1:2.8.5-2ubuntu6
libaudit1 1:2.8.5-2ubuntu6
libblkid1 2.34-0.1ubuntu9.3
libbsd0 0.10.0-1
libbz2-1.0 1.0.8-2
libc6 2.31-0ubuntu9.9
libcap-ng0 0.7.9-2.1build1
libcap2 1:2.32-1
libcap2-bin 1:2.32-1
libcrypt1 1:4.4.10-10ubuntu4
libcryptsetup12 2:2.2.2-3ubuntu2.4
libdb5.3 5.3.28+
libdbus-1-3 1.12.16-2ubuntu2.2
libdevmapper1.02.1 2:1.02.167-1ubuntu1
libelf1 0.176-1.1build1
libexpat1 2.2.9-1ubuntu0.4
libffi7 3.3-4
libgcc-s1 10.3.0-
libgcrypt20 1.8.5-5ubuntu1.1
libgirepositor
libglib2.0-0 2.64.6-
libglib2.0-data 2.64.6-
libgmp10 2:6.2.0+dfsg-4
libgnutls30 3.6.13-2ubuntu1.6
libgpg-error0 1.37-1
libgpm2 1.20.7-5
libhogweed5 3.5.1+really3.
libicu66 66.1-2ubuntu2.1
libidn2-0 2.2.0-2
libip4tc2 1.8.4-3ubuntu2
libjson-c4 0.13.1+
libkmod2 27-1ubuntu2.1
liblocale-
liblz4-1 1.9.2-2ubuntu0.
liblzma5 5.2.4-1ubuntu1.1
libmagic-mgc 1:5.38-4
libmagic1 1:5.38-4
libmnl0 1.0.4-2
libmount1 2.34-0.1ubuntu9.3
libmpdec2 2.4.2-3
libncursesw6 6.2-0ubuntu2
libnetplan0 0.104-0ubuntu2~
libnettle7 3.5.1+really3.
libp11-kit0 0.23.20-1ubuntu0.1
libpam-cap 1:2.32-1
libpam-modules 1.3.1-5ubuntu4.3
libpam-modules-bin 1.3.1-5ubuntu4.3
libpam-runtime 1.3.1-5ubuntu4.3
libpam0g 1.3.1-5ubuntu4.3
libpcre2-8-0 10.34-7
libpcre3 2:8.39-12ubuntu0.1
libpython3-stdlib 3.8.2-0ubuntu2
libpython3.
libpython3.
libreadline8 8.0-4
libseccomp2 2.5.1-1ubuntu1~
libselinux1 3.0-1build2
libsemanage-common 3.0-1build2
libsemanage1 3.0-1build2
libsepol1 3.0-1ubuntu0.1
libsmartcols1 2.34-0.1ubuntu9.3
libsqlite3-0 3.31.1-4ubuntu0.3
libssl1.1 1.1.1f-1ubuntu2.15
libstdc++6 10.3.0-
libsystemd0 245.4-4ubuntu3.17
libtasn1-6 4.16.0-2
libtext-
libtext-iconv-perl 1.7-7
libtext-
libtinfo6 6.2-0ubuntu2
libudev1 245.4-4ubuntu3.17
libunistring2 0.9.10-2
libuuid1 2.34-0.1ubuntu9.3
libxml2 2.9.10+
libxtables12 1.8.4-3ubuntu2
libyaml-0-2 0.2.2-1
libzstd1 1.4.4+dfsg-
login 1:4.8.1-
mime-support 3.64ubuntu1
mount 2.34-0.1ubuntu9.3
networkd-
openssl 1.1.1f-1ubuntu2.15
passwd 1:4.8.1-
perl-base 5.30.0-9ubuntu0.2
python3 3.8.2-0ubuntu2
python3-dbus 1.2.16-1build1
python3-gi 3.36.0-1
python3-minimal 3.8.2-0ubuntu2
python3-netifaces 0.10.4-1ubuntu4
python3-yaml 5.3.1-1ubuntu0.1
python3.8 3.8.10-
python3.8-minimal 3.8.10-
readline-common 8.0-4
shared-mime-info 1.15-1
systemd 245.4-4ubuntu3.17
systemd-timesyncd 245.4-4ubuntu3.17
tar 1.30+dfsg-
tzdata 2022a-0ubuntu0.
ubuntu-keyring 2020.02.11.4
util-linux 2.34-0.1ubuntu9.3
uuid-runtime 2.34-0.1ubuntu9.3
xdg-user-dirs 0.17-2ubuntu1
xz-utils 5.2.4-1ubuntu1.1
zlib1g 1:1.2.11.
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-05-10 (775 days ago)
InstallationMedia: Ubuntu-Server 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Package: netplan.io 0.104-0ubuntu2~
PackageArchitec
ProcCpuinfoMinimal:
processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 142
model name : Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz
stepping : 10
microcode : 0xf0
cpu MHz : 4208.373
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 3
cpu cores : 4
apicid : 7
initial apicid : 7
fpu : yes
fpu_exception : yes
cpuid level : 22
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds mmio_stale_data
bogomips : 5399.81
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: netplan.io
Tags: focal uec-images
Uname: Linux 5.4.0-121-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
_MarkForUpload: True
Let me know if you need more informtion.
Cheers
Jim
This was fixed upstream and is pending stable release update into Focal. Marking as duplicate.
https:/ /github. com/canonical/ netplan/ pull/270 /bugs.launchpad .net/netplan/ +bug/1956264
https:/