diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-14 20:12:34 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-03-14 20:12:34 +0100 |
commit | 85ff856a32ccb5bc20604bacfb4fa5cb66375487 (patch) | |
tree | 9fa6fa4ef84c39dae14accc018187fce57fd91e2 /src/conf_mode/interfaces-ethernet.py | |
parent | 59ad580cdea2e66e24470ee3d84f29a8619b7bf9 (diff) | |
download | vyos-1x-85ff856a32ccb5bc20604bacfb4fa5cb66375487.tar.gz vyos-1x-85ff856a32ccb5bc20604bacfb4fa5cb66375487.zip |
xdp: T2666: remove entire XDP code for 1.3 LTS image
This is an extension to commit 801c5235 ("xdp: T2666: disable this highly
experimental feature in 1.3 LTS") by dropping all XDP references in the
equuleus codebase.
Diffstat (limited to 'src/conf_mode/interfaces-ethernet.py')
-rwxr-xr-x | src/conf_mode/interfaces-ethernet.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/conf_mode/interfaces-ethernet.py b/src/conf_mode/interfaces-ethernet.py index 378f400b8..349b0e7a3 100755 --- a/src/conf_mode/interfaces-ethernet.py +++ b/src/conf_mode/interfaces-ethernet.py @@ -108,12 +108,6 @@ def verify(ethernet): raise ConfigError(f'Driver only supports a maximum TX ring-buffer '\ f'size of "{max_tx}" bytes!') - # XDP requires multiple TX queues - if 'xdp' in ethernet: - queues = glob(f'/sys/class/net/{ifname}/queues/tx-*') - if len(queues) < 2: - raise ConfigError('XDP requires additional TX queues, too few available!') - if {'is_bond_member', 'mac'} <= set(ethernet): print(f'WARNING: changing mac address "{mac}" will be ignored as "{ifname}" ' f'is a member of bond "{is_bond_member}"'.format(**ethernet)) |