diff options
| author | Oleksandr Kuchmystyi <o.kuchmystyi@vyos.io> | 2026-02-18 12:35:28 +0300 |
|---|---|---|
| committer | Oleksandr Kuchmystyi <o.kuchmystyi@vyos.io> | 2026-02-18 16:16:32 +0300 |
| commit | 45077f87eee6772839b9f0fabdf79a385d0b46f1 (patch) | |
| tree | cb25d8dd386a3040840b8fa557ab375947981fd8 /data | |
| parent | fc94e37b6f3f2bffcea24d11c926f4536b449c16 (diff) | |
| download | vyos-1x-45077f87eee6772839b9f0fabdf79a385d0b46f1.tar.gz vyos-1x-45077f87eee6772839b9f0fabdf79a385d0b46f1.zip | |
vpp: T8274: Remove dpdk-options section for num-* parameters
Remove `dpdk-options` under `set vpp settings interface <ethN>`
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 <ethN> dpdk-options promisc`.
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/vpp/startup.conf.j2 | 16 |
1 files changed, 8 insertions, 8 deletions
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 %} |
