diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2026-02-17 16:05:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-17 16:05:48 +0200 |
| commit | 9785f396ba1e82b6b359e42af7da03828b4ff6ed (patch) | |
| tree | 3ca807b3c1210e871fca08c10f167be751c16e7c /interface-definitions | |
| parent | 33752c9a41f2e79c1ef3884188968d0f48bc79d8 (diff) | |
| parent | 2414c156cc21bfe51b65f8726f186c55b533bb97 (diff) | |
| download | vyos-1x-9785f396ba1e82b6b359e42af7da03828b4ff6ed.tar.gz vyos-1x-9785f396ba1e82b6b359e42af7da03828b4ff6ed.zip | |
Merge pull request #4993 from natali-rs1985/T8268
vpp: T8268: Unify CPU settings into a single 'cpu-cores' node under 'resource-allocation'
Diffstat (limited to 'interface-definitions')
| -rw-r--r-- | interface-definitions/vpp.xml.in | 81 |
1 files changed, 20 insertions, 61 deletions
diff --git a/interface-definitions/vpp.xml.in b/interface-definitions/vpp.xml.in index 70e3e102c..6c9440302 100644 --- a/interface-definitions/vpp.xml.in +++ b/interface-definitions/vpp.xml.in @@ -527,6 +527,26 @@ <help>VPP settings</help> </properties> <children> + <node name="resource-allocation"> + <properties> + <help>Resource allocation settings</help> + </properties> + <children> + <leafNode name="cpu-cores"> + <properties> + <help>Create worker threads (including main-core)</help> + <valueHelp> + <format>u32:1-512</format> + <description>Worker threads</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-512"/> + </constraint> + </properties> + <defaultValue>1</defaultValue> + </leafNode> + </children> + </node> <node name="buffers"> <properties> <help>Buffer settings</help> @@ -572,67 +592,6 @@ </leafNode> </children> </node> - <node name="cpu"> - <properties> - <help>CPU settings</help> - </properties> - <children> - <leafNode name="corelist-workers"> - <properties> - <help>List of cores worker threads</help> - <valueHelp> - <format><id></format> - <description>CPU core id</description> - </valueHelp> - <valueHelp> - <format><idN>-<idM></format> - <description>CPU core id range (use '-' as delimiter)</description> - </valueHelp> - <constraint> - <validator name="numeric" argument="--allow-range --range 0-512"/> - </constraint> - <constraintErrorMessage>not a valid CPU core value or range</constraintErrorMessage> - <multi/> - </properties> - </leafNode> - <leafNode name="main-core"> - <properties> - <help>Main core</help> - <valueHelp> - <format>u32:0-512</format> - <description>Assign main thread to specific core</description> - </valueHelp> - <constraint> - <validator name="numeric" argument="--range 0-512"/> - </constraint> - </properties> - </leafNode> - <leafNode name="skip-cores"> - <properties> - <help>Skip cores</help> - <valueHelp> - <format>u32:1-512</format> - <description>Skip cores</description> - </valueHelp> - <constraint> - <validator name="numeric" argument="--range 1-512"/> - </constraint> - </properties> - </leafNode> - <leafNode name="workers"> - <properties> - <help>Create worker threads</help> - <valueHelp> - <format>u32:0-4294967295</format> - <description>Worker threads</description> - </valueHelp> - <constraint> - <validator name="numeric" argument="--range 0-512"/> - </constraint> - </properties> - </leafNode> - </children> - </node> <tagNode name="interface"> <properties> <help>Interface</help> |
