summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2026-01-26 14:01:45 +0200
committerNataliia Solomko <natalirs1985@gmail.com>2026-01-28 19:39:34 +0200
commit04962c8683000d293aad5460144f3c10111beeb8 (patch)
tree40b0b9bd46968ad72bd373fb4c493dd63cf09660 /python
parent707b3e92a5c8c3ffaa3c5bec831d7796452efd72 (diff)
downloadvyos-1x-04962c8683000d293aad5460144f3c10111beeb8.tar.gz
vyos-1x-04962c8683000d293aad5460144f3c10111beeb8.zip
vpp: T8202: Remove XDP driver and options from CLI and config
- Migration script removes 'driver' and 'xdp-options' nodes. - XDP logic is commented out in config verification and CLI tests, preserving code for future use. - The rest of XDP-related code remains untouched
Diffstat (limited to 'python')
-rw-r--r--python/vyos/vpp/config_verify.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/python/vyos/vpp/config_verify.py b/python/vyos/vpp/config_verify.py
index d051ef359..823443be5 100644
--- a/python/vyos/vpp/config_verify.py
+++ b/python/vyos/vpp/config_verify.py
@@ -169,9 +169,14 @@ def verify_dev_driver(driver_type: str, driver: str) -> bool:
if driver_type == 'dpdk':
if driver in drivers_dpdk:
return True
- elif driver_type == 'xdp':
- if driver in drivers_xdp:
- return True
+ # XDP support is intentionally disabled (T8202).
+ # XDP is no longer configurable via the CLI.
+ # This logic is kept commented out to make it easy
+ # to reintroduce XDP if there is a clear need in the future.
+ #
+ # elif driver_type == 'xdp':
+ # if driver in drivers_xdp:
+ # return True
else:
raise ConfigError(f'"Driver type {driver_type} is wrong')