<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/data/templates/vpp, branch rolling</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2026-10-22T22:18:29+00:00</updated>
<entry>
<title>T8382: Add VPP Prometheus exporter support</title>
<updated>2026-10-22T22:18:29+00:00</updated>
<author>
<name>Ritika Chopra</name>
<email>r.chopra@vyos.io</email>
</author>
<published>2026-07-17T16:44:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f712f1de0ac26fa2b9e3de047ae96ad44dea8322'/>
<id>urn:sha1:f712f1de0ac26fa2b9e3de047ae96ad44dea8322</id>
<content type='text'>
Integrate the VPP Prometheus exporter with VyOS configuration. Upon
being configured via VyOS CLI, the exporter reads VPP statistics and
exposes selected metrics at /metrics endpoint for Prometheus to
scrape. VPP exporter service can co-exist with node-exporter (both
independently) to export VPP and kernel stats respectively.

The implementation provides functionality:

CLI configuration for the exporter, including its listen port, VRF,
and selectable stat groups: interfaces, err, buffer-pools, system,
workers, nodes, memory, nat44, and acl.

Default stat groups of interfaces, err, buffer-pools, system, workers,
and memory. Explicitly selecting any groups replaces that default set.

The exporter is opt-in: configuring vpp-exporter enables and starts
it. Removing the configuration stops the exporter independently of
VPP. While configured, it follows VPP’s lifecycle and restarts when
its own configuration changes.

Validation that requires VPP to be configured before configuring the
exporter, and rejects VPP removal while the exporter remains
configured.

Node metrics through the nodes group when VPP’s per-node-counters
setting is enabled. Selecting nodes without that setting produces a
warning. Removing the exporter leaves per-node-counters unchanged.

VRF support for the exporter service.

Co-authored-by: @inetman28
PR-Ref: #5339 (Addressed review comments, removed regex CLI options)
</content>
</entry>
<entry>
<title>vpp: T9484: keep net.core.rmem_max at VPP's netlink buffer size</title>
<updated>2026-10-21T13:17:16+00:00</updated>
<author>
<name>Alex Kudentsov</name>
<email>43482574+alexk37@users.noreply.github.com</email>
</author>
<published>2026-10-19T12:03:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=57a5f6b623df7d7882a585cb786753577604ec7b'/>
<id>urn:sha1:57a5f6b623df7d7882a585cb786753577604ec7b</id>
<content type='text'>
VPP requests a 256 MiB netlink receive buffer (nl-rx-buffer-size), but
the kernel caps it at net.core.rmem_max, which VyOS sets to 2 MiB, so
VPP gets 4 MiB. A large routing table over VPP interfaces can overflow
it, and linux-cp then falls back to a full resync.

Setting the sysctl from the CLI does not help at boot: system sysctl
runs after vpp, so VPP has already opened its socket.

- vpp.py raises net.core.rmem_max to the requested size before VPP is
  (re)started; a higher value is kept.
- VPP re-opens its netlink socket on every resync and sizes it again, so
  system sysctl no longer applies a lower value while VPP is configured;
  it uses the required size and prints a warning.
- When VPP is removed, vpp.py sets net.core.rmem_max back to the value
  from system sysctl, or to the default from sysctl.d, read with the new
  vyos.utils.system.sysctl_read_default().
- startup.conf.j2 takes nl-rx-buffer-size from the same value
  (default_resource_map) instead of its own constant.
</content>
</entry>
<entry>
<title>vpp: T9146: Enable DPDK no-multi-seg when a full frame fits the buffer</title>
<updated>2026-08-31T10:45:52+00:00</updated>
<author>
<name>Nataliia Solomko</name>
<email>natalirs1985@gmail.com</email>
</author>
<published>2026-08-04T14:40:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=aa1eb26e371e14dad0df002bb8ba784e7c7f6f82'/>
<id>urn:sha1:aa1eb26e371e14dad0df002bb8ba784e7c7f6f82</id>
<content type='text'>
Disabling DPDK multi-segment buffers (no-multi-seg) lets VPP receive each
frame into a single buffer, increasing forwarding throughput. The frame
must then fit the buffer 'data-size', so 'no-multi-seg' is computed: it is
enabled only while the largest MTU across all VPP-bound interfaces, plus
its L2 framing overhead (26 bytes), fits 'data-size'. Otherwise VPP keeps
multi-seg and Jumbo frames still work without a larger buffer.

Changing the MTU of a VPP-bound interface can flip the flag, so
interfaces_ethernet reconfigures VPP when it changes, via an initial
dependency (set_dependents_initial) to avoid a cycle with the existing
vpp -&gt; ethernet dependency.
</content>
</entry>
<entry>
<title>vpp: T8460: Use isolated cpus for VPP cpu-cores</title>
<updated>2026-04-21T13:45:43+00:00</updated>
<author>
<name>Nataliia Solomko</name>
<email>natalirs1985@gmail.com</email>
</author>
<published>2026-04-14T15:07:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9cb6f4c001fa5d4f4ed26850fc99dde4c3692c8f'/>
<id>urn:sha1:9cb6f4c001fa5d4f4ed26850fc99dde4c3692c8f</id>
<content type='text'>
VPP CPU core assignment now uses kernel-isolated CPUs (from /sys/devices/system/cpu/isolated) with explicit corelist-workers instead of computing offsets from available cores with skip-cores/workers. Added validation that enough CPUs are actually isolated before VPP starts, and that isolate-cpus config only references existing CPU IDs. Moved smoketest for kernel option 'isolate-cpus' to test_vpp.py
</content>
</entry>
<entry>
<title>vpp: T8354: Move 'ignore-kernel-routes' option out of resource-allocation section</title>
<updated>2026-03-06T16:20:40+00:00</updated>
<author>
<name>Nataliia Solomko</name>
<email>natalirs1985@gmail.com</email>
</author>
<published>2026-03-06T16:20:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b4670b3fbb27f727a9dc70731c94be313c08f0ce'/>
<id>urn:sha1:b4670b3fbb27f727a9dc70731c94be313c08f0ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vpp: T8261: Refactor resource settings into 'resource-allocation' section</title>
<updated>2026-02-19T10:22:06+00:00</updated>
<author>
<name>Nataliia Solomko</name>
<email>natalirs1985@gmail.com</email>
</author>
<published>2026-02-18T08:51:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a9070f1d5770241a46c4632528fef86edaba8392'/>
<id>urn:sha1:a9070f1d5770241a46c4632528fef86edaba8392</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vpp: T8274: Remove dpdk-options section for num-* parameters</title>
<updated>2026-02-18T13:16:32+00:00</updated>
<author>
<name>Oleksandr Kuchmystyi</name>
<email>o.kuchmystyi@vyos.io</email>
</author>
<published>2026-02-18T09:35:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=45077f87eee6772839b9f0fabdf79a385d0b46f1'/>
<id>urn:sha1:45077f87eee6772839b9f0fabdf79a385d0b46f1</id>
<content type='text'>
Remove `dpdk-options` under `set vpp settings interface &lt;ethN&gt;`
and move its child options to the interface level:
 - `num-rx-desc`
 - `num-rx-queues`
 - `num-tx-desc`
 - `num-tx-queues`

Also remove `set vpp settings interface &lt;ethN&gt; dpdk-options promisc`.
</content>
</entry>
<entry>
<title>vpp: T8268: Unify CPU settings into a single 'cpu-cores' node under 'resource-allocation'</title>
<updated>2026-02-17T09:33:56+00:00</updated>
<author>
<name>Nataliia Solomko</name>
<email>natalirs1985@gmail.com</email>
</author>
<published>2026-02-16T14:53:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=2414c156cc21bfe51b65f8726f186c55b533bb97'/>
<id>urn:sha1:2414c156cc21bfe51b65f8726f186c55b533bb97</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>vpp: T8258: Move `poll-sleep-usec` out of `unix` section</title>
<updated>2026-02-15T12:12:49+00:00</updated>
<author>
<name>Oleksandr Kuchmystyi</name>
<email>o.kuchmystyi@vyos.io</email>
</author>
<published>2026-02-13T08:04:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c536954a6a666f59185669cffa9efa79a601673c'/>
<id>urn:sha1:c536954a6a666f59185669cffa9efa79a601673c</id>
<content type='text'>
Instead of `vpp settings unix poll-sleep-usec`
use `vpp settings poll-sleep-usec`.
</content>
</entry>
<entry>
<title>vpp: T8262: Refactor IPsec settings to use only 'ipsec-acceleration' flag</title>
<updated>2026-02-13T20:09:32+00:00</updated>
<author>
<name>Nataliia Solomko</name>
<email>natalirs1985@gmail.com</email>
</author>
<published>2026-02-13T12:07:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=6c52428f97ff91c48705fdc698db8cd57cc6c47b'/>
<id>urn:sha1:6c52428f97ff91c48705fdc698db8cd57cc6c47b</id>
<content type='text'>
</content>
</entry>
</feed>
