Apply dpdk port parameters no matter if it's bonded or not
Current logic does not apply n_rxq, pmd_rxq_affinity and mtu
for a dpdk port in case it is attached directly to a bridge
(not bonded).
This patch makes formula apply parameters in both cases.
Change-Id: I5b19999b1ac8a80d1e31b266fede7dad0d7fd0d4
diff --git a/linux/network/dpdk.sls b/linux/network/dpdk.sls
index cadc599..751941c 100644
--- a/linux/network/dpdk.sls
+++ b/linux/network/dpdk.sls
@@ -148,8 +148,10 @@
- require:
- cmd: linux_network_dpdk_bridge_interface_{{ interface.bridge }}
+ {%- endif %}
+
{# Multiqueue n_rxq, pmd_rxq_affinity and mtu setup on interfaces #}
- {%- elif interface.type == 'dpdk_ovs_port' and (interface.n_rxq is defined or interface.mtu is defined or interface.pmd_rxq_affinity is defined) %}
+ {%- if interface.type == 'dpdk_ovs_port' %}
{%- if interface.n_rxq is defined %}