From 45077f87eee6772839b9f0fabdf79a385d0b46f1 Mon Sep 17 00:00:00 2001 From: Oleksandr Kuchmystyi Date: Wed, 18 Feb 2026 12:35:28 +0300 Subject: vpp: T8274: Remove dpdk-options section for num-* parameters Remove `dpdk-options` under `set vpp settings interface ` 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 dpdk-options promisc`. --- data/templates/vpp/startup.conf.j2 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'data') diff --git a/data/templates/vpp/startup.conf.j2 b/data/templates/vpp/startup.conf.j2 index b93b53bbd..d49896336 100644 --- a/data/templates/vpp/startup.conf.j2 +++ b/data/templates/vpp/startup.conf.j2 @@ -178,17 +178,17 @@ dpdk { {% if iface_config.driver == 'dpdk' %} dev {{ iface_config.dpdk_options.dev_id }} { name {{ iface }} -{% if iface_config.dpdk_options.num_rx_desc is vyos_defined %} - num-rx-desc {{ iface_config.dpdk_options.num_rx_desc }} +{% if iface_config.num_rx_desc is vyos_defined %} + num-rx-desc {{ iface_config.num_rx_desc }} {% endif %} -{% if iface_config.dpdk_options.num_tx_desc is vyos_defined %} - num-tx-desc {{ iface_config.dpdk_options.num_tx_desc }} +{% if iface_config.num_tx_desc is vyos_defined %} + num-tx-desc {{ iface_config.num_tx_desc }} {% endif %} -{% if iface_config.dpdk_options.num_rx_queues is vyos_defined %} - num-rx-queues {{ iface_config.dpdk_options.num_rx_queues }} +{% if iface_config.num_rx_queues is vyos_defined %} + num-rx-queues {{ iface_config.num_rx_queues }} {% endif %} -{% if iface_config.dpdk_options.num_tx_queues is vyos_defined %} - num-tx-queues {{ iface_config.dpdk_options.num_tx_queues }} +{% if iface_config.num_tx_queues is vyos_defined %} + num-tx-queues {{ iface_config.num_tx_queues }} {% endif %} } {% endif %} -- cgit v1.2.3