Public bug reported:

While debugging a bug 1945868 I found something that I think is a separate 
issue to that original report, hence this new bug.
I found the virtio-net behavior changing in an unexpected way in 
5.4.0-89-generic that is currently in Focal-proposed.

1. 5.4.0-86-generic
$ sudo ethtool --show-features enp1s0 | grep large
large-receive-offload: off
$ sudo ethtool --features enp1s0 lro on
$ sudo ethtool --show-features enp1s0 | grep large
large-receive-offload: on
$ sudo ethtool --features enp1s0 lro off
$ sudo ethtool --show-features enp1s0 | grep large
large-receive-offload: off

2. 5.4.0-88-generic
$ sudo ethtool --show-features enp1s0 | grep large
large-receive-offload: off
$ sudo ethtool --features enp1s0 lro on
$ sudo ethtool --show-features enp1s0 | grep large
large-receive-offload: on
$ sudo ethtool --features enp1s0 lro off
$ sudo ethtool --show-features enp1s0 | grep large
large-receive-offload: off

3. 5.4.0-89-generic
$ sudo ethtool --show-features enp1s0 | grep large
large-receive-offload: off [fixed]
$ sudo ethtool --features enp1s0 lro on
Cannot change large-receive-offload
Could not change any device features
$ sudo ethtool --show-features enp1s0 | grep large
large-receive-offload: off [fixed]
$ sudo ethtool --features enp1s0 lro off
Cannot change large-receive-offload
$ sudo ethtool --show-features enp1s0 | grep large
large-receive-offload: off [fixed


I've installed/uninstalled the guest kernel twice but the above behavior 
remained consistent and seemed to be only influenced by the new kernel.

The used guest config is the default that falls out of uvt-kvm, that means in 
regard to this bug:
  <os>
    <type arch='x86_64' machine='pc-q35-focal'>hvm</type>
  </os>
...
    <interface type='network'>
      <mac address='52:54:00:b2:c2:2a'/>
      <source network='default'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' 
function='0x0'/>
    </interface>


Virt-Stack is qemu 1:4.2-3ubuntu6.17 and libvirt 6.0.0-0ubuntu8.14 from current 
Focal-updates.
--- 
ProblemType: Bug
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116,  1 Oct  6 06:47 seq
 crw-rw---- 1 root audio 116, 33 Oct  6 06:47 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-0ubuntu27.20
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
CasperMD5CheckResult: skip
DistroRelease: Ubuntu 20.04
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
 /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
 /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
Package: linux (not installed)
PciMultimedia:
 
ProcFB:
 
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-89-generic 
root=UUID=5697bbf9-a186-49b9-98bc-2a94313535b4 ro console=tty1 console=ttyS0
ProcVersionSignature: Ubuntu 5.4.0-89.100-generic 5.4.143
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-89-generic N/A
 linux-backports-modules-5.4.0-89-generic  N/A
 linux-firmware                            N/A
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
Tags:  focal uec-images
Uname: Linux 5.4.0-89-generic x86_64
UnreportableReason: This report is about a package that is not installed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: False
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.13.0-1ubuntu1.1
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-q35-focal
dmi.modalias: 
dmi:bvnSeaBIOS:bvr1.13.0-1ubuntu1.1:bd04/01/2014:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-focal:cvnQEMU:ct1:cvrpc-q35-focal:
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.version: pc-q35-focal
dmi.sys.vendor: QEMU

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: focal regression-proposed

** Tags added: apport-collected focal uec-images

** Description changed:

  While debugging a bug 1945868 I found something that I think is a separate 
issue to that original report, hence this new bug.
  I found the virtio-net behavior changing in an unexpected way in 
5.4.0-89-generic that is currently in Focal-proposed.
  
  1. 5.4.0-86-generic
  $ sudo ethtool --show-features enp1s0 | grep large
  large-receive-offload: off
  $ sudo ethtool --features enp1s0 lro on
  $ sudo ethtool --show-features enp1s0 | grep large
  large-receive-offload: on
  $ sudo ethtool --features enp1s0 lro off
  $ sudo ethtool --show-features enp1s0 | grep large
  large-receive-offload: off
  
  2. 5.4.0-88-generic
  $ sudo ethtool --show-features enp1s0 | grep large
  large-receive-offload: off
  $ sudo ethtool --features enp1s0 lro on
  $ sudo ethtool --show-features enp1s0 | grep large
  large-receive-offload: on
  $ sudo ethtool --features enp1s0 lro off
  $ sudo ethtool --show-features enp1s0 | grep large
  large-receive-offload: off
  
  3. 5.4.0-89-generic
  $ sudo ethtool --show-features enp1s0 | grep large
  large-receive-offload: off [fixed]
  $ sudo ethtool --features enp1s0 lro on
  Cannot change large-receive-offload
  Could not change any device features
  $ sudo ethtool --show-features enp1s0 | grep large
  large-receive-offload: off [fixed]
  $ sudo ethtool --features enp1s0 lro off
  Cannot change large-receive-offload
  $ sudo ethtool --show-features enp1s0 | grep large
  large-receive-offload: off [fixed
  
  
  I've installed/uninstalled the guest kernel twice but the above behavior 
remained consistent and seemed to be only influenced by the new kernel.
  
  The used guest config is the default that falls out of uvt-kvm, that means in 
regard to this bug:
    <os>
      <type arch='x86_64' machine='pc-q35-focal'>hvm</type>
    </os>
  ...
      <interface type='network'>
        <mac address='52:54:00:b2:c2:2a'/>
        <source network='default'/>
        <model type='virtio'/>
        <address type='pci' domain='0x0000' bus='0x01' slot='0x00' 
function='0x0'/>
      </interface>
  
  
  Virt-Stack is qemu 1:4.2-3ubuntu6.17 and libvirt 6.0.0-0ubuntu8.14 from 
current Focal-updates.
+ --- 
+ ProblemType: Bug
+ AlsaDevices:
+  total 0
+  crw-rw---- 1 root audio 116,  1 Oct  6 06:47 seq
+  crw-rw---- 1 root audio 116, 33 Oct  6 06:47 timer
+ AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
+ ApportVersion: 2.20.11-0ubuntu27.20
+ Architecture: amd64
+ ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
+ AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
+ CRDA: N/A
+ CasperMD5CheckResult: skip
+ DistroRelease: Ubuntu 20.04
+ IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
+ Lsusb:
+  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
+  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ Lsusb-t:
+  /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
+  /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
+ MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
+ Package: linux (not installed)
+ PciMultimedia:
+  
+ ProcFB:
+  
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-89-generic 
root=UUID=5697bbf9-a186-49b9-98bc-2a94313535b4 ro console=tty1 console=ttyS0
+ ProcVersionSignature: Ubuntu 5.4.0-89.100-generic 5.4.143
+ RelatedPackageVersions:
+  linux-restricted-modules-5.4.0-89-generic N/A
+  linux-backports-modules-5.4.0-89-generic  N/A
+  linux-firmware                            N/A
+ RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
+ Tags:  focal uec-images
+ Uname: Linux 5.4.0-89-generic x86_64
+ UnreportableReason: This report is about a package that is not installed.
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: N/A
+ _MarkForUpload: False
+ dmi.bios.date: 04/01/2014
+ dmi.bios.vendor: SeaBIOS
+ dmi.bios.version: 1.13.0-1ubuntu1.1
+ dmi.chassis.type: 1
+ dmi.chassis.vendor: QEMU
+ dmi.chassis.version: pc-q35-focal
+ dmi.modalias: 
dmi:bvnSeaBIOS:bvr1.13.0-1ubuntu1.1:bd04/01/2014:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-focal:cvnQEMU:ct1:cvrpc-q35-focal:
+ dmi.product.name: Standard PC (Q35 + ICH9, 2009)
+ dmi.product.version: pc-q35-focal
+ dmi.sys.vendor: QEMU

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946185

Title:
  large-receive-offload no more tunable in 5.4.0-89-generic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1946185/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to