From a9070f1d5770241a46c4632528fef86edaba8392 Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Wed, 18 Feb 2026 10:51:07 +0200 Subject: vpp: T8261: Refactor resource settings into 'resource-allocation' section --- interface-definitions/vpp.xml.in | 279 ++++++++++++++++++--------------------- 1 file changed, 130 insertions(+), 149 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/vpp.xml.in b/interface-definitions/vpp.xml.in index abe88b3db..86568c1e9 100644 --- a/interface-definitions/vpp.xml.in +++ b/interface-definitions/vpp.xml.in @@ -545,51 +545,148 @@ 1 - - - - - Buffer settings - - - + - Number of buffers per numa node - - u32:16384-4294967295 - Number of buffers - - - auto - Auto calculate number of buffers per numa node - - - - (auto) - + Buffer settings - auto - - + + + + Number of buffers per numa node + + auto + + + u32:16384-4294967295 + Number of buffers + + + auto + Auto calculate number of buffers per numa node + + + + (auto) + + + auto + + + + Size of buffer data area + + u32 + Size of buffer data area + + + + + + 2048 + + + + Set the page-size for buffer allocation + #include + + 2M + + + + + + IPv6 settings + + + + + IPv6 heap size + #include + + 32M + + + + IPv6 forwarding table hash buckets + + u32:1-4294967295 + IPv6 forwarding table hash buckets + + + + + + 65536 + + + + - Size of buffer data area + Number of MAC addresses in the L2 FIB - u32:0-4294967295 - Size of buffer data area + u32:1-4294967295 + Number of MAC addresses in the L2 FIB - + - 2048 + 4194304 - + - Set the page-size for buffer allocation - #include + Ignore kernel routes + - 2M + + + Memory settings + + + + + Main heap size + #include + + 3G + + + + Main heap page size + #include + + 2M + + + + Memory size for protectable memory allocator (pmalloc) memory space + #include + + + + + Stats settings + + + + + Size of stats segment + #include + + 128M + + + + Stats page size + #include + + 2M + + + + + @@ -660,73 +757,12 @@ - - - IPv6 settings - - - - - IPv6 heap size - #include - - 32M - - - - IPv6 forwarding table hash buckets - - u32:1-4294967295 - IPv6 forwarding table hash buckets - - - - - - 65536 - - - Enable IPsec acceleration - - - Level 2 MAC address learning settings - - - - - Number of MAC addresses in the L2 FIB - - u32:1-4294967295 - Number of concurent entries - - - - - - 4194304 - - - - - - Linux control plane setting - - - #include - - - Ignore kernel routes - - - - - Logging settings @@ -781,61 +817,6 @@ - - - Memory settings - - - - - Main heap size - #include - - 3G - - - - Main heap page size - #include - - 2M - - - - - - Physical memory settings - - - - - Set memory size for protectable memory allocator (pmalloc) memory space - #include - - - - - - - Stats settings - - - - - Size of stats segment - #include - - 128M - - - - Stats page size - #include - - 2M - - - Add a fixed-sleep between main loop poll -- cgit v1.2.3