diff options
| author | Nataliia Solomko <natalirs1985@gmail.com> | 2026-02-16 16:53:29 +0200 |
|---|---|---|
| committer | Nataliia Solomko <natalirs1985@gmail.com> | 2026-02-17 11:33:56 +0200 |
| commit | 2414c156cc21bfe51b65f8726f186c55b533bb97 (patch) | |
| tree | 815f9d77ce7ade89371695252aeb1d7af5580890 /data | |
| parent | 82461ce7856aaf91d1b8a85ca45080e26783fc5e (diff) | |
| download | vyos-1x-2414c156cc21bfe51b65f8726f186c55b533bb97.tar.gz vyos-1x-2414c156cc21bfe51b65f8726f186c55b533bb97.zip | |
vpp: T8268: Unify CPU settings into a single 'cpu-cores' node under 'resource-allocation'
Replace legacy VPP CPU settings (main-core, skip-cores, workers, corelist-workers) with a single resource-allocation cpu-cores option.
CPU assignment is now handled automatically: two cores are reserved for the system, the VPP main thread is placed on the first available core, and the remaining allocated cores are used as workers.
This simplifies configuration and ensures consistent CPU allocation.
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/vpp/startup.conf.j2 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/data/templates/vpp/startup.conf.j2 b/data/templates/vpp/startup.conf.j2 index 218e399d4..b93b53bbd 100644 --- a/data/templates/vpp/startup.conf.j2 +++ b/data/templates/vpp/startup.conf.j2 @@ -18,9 +18,6 @@ cpu { {% if cpu.main_core is vyos_defined %} main-core {{ cpu.main_core }} {% endif %} -{% if cpu.corelist_workers is vyos_defined %} - corelist-workers {{ cpu.corelist_workers | join(',') }} -{% endif %} {% if cpu.skip_cores is vyos_defined %} skip-cores {{ cpu.skip_cores }} {% endif %} |
