Page MenuHomeVyOS Platform

Error setting Receive Packet Steering
Open, NormalPublicBUG

Description

Report time:      2024-06-10 08:31:29
Image version:    VyOS 1.5-rolling-202405300752
Release train:    current

Built by:         root@71e8931b8eb7
Built on:         Thu 30 May 2024 07:52 UTC
Build UUID:       602d3dfa-879c-4e39-8009-e6129071c90b
Build commit ID:  257496d6bf022c

Architecture:     x86_64
Boot via:         installed image
System type:      bare metal

Hardware vendor:  ASUSTeK COMPUTER INC.
Hardware model:   KRPA-U16 Series
Hardware S/N:     W_1stOK
Hardware UUID:    4a82368c-1a71-9b0d-3543-f02f74974bcc

Trying to enable rps:

vyos@xx# set interfaces ethernet eth1 offload rps
[edit]
vyos@xx# commit

Error:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/interfaces_ethernet.py", line 433, in <module>
    apply(c)
  File "/usr/libexec/vyos/conf_mode/interfaces_ethernet.py", line 410, in apply
    e.update(ethernet)
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/ethernet.py", line 430, in update
    self.set_rps(dict_search('offload.rps', config) != None)
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/ethernet.py", line 328, in set_rps
    self._write_sysfs(f'/sys/class/net/{self.ifname}/queues/rx-{i}/rps_cpus', f'{rps_cpus:x}')
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/control.py", line 142, in _write_sysfs
    write_file(filename, str(value))
  File "/usr/lib/python3/dist-packages/vyos/utils/file.py", line 69, in write_file
    raise e
  File "/usr/lib/python3/dist-packages/vyos/utils/file.py", line 61, in write_file
    with open(fname, 'w' if not append else 'a') as f:
OSError: [Errno 75] Value too large for defined data type

noteworthy:
cmd 'ethtool --features eth1 lro on'
returned (out):

returned (err):
Could not change any device features

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.5-rolling-202405300752
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Security vulnerability