Browse Source

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
pull/122/head
Oleg Bondarev 7 years ago
parent
commit
6c6d3b5bf1
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      linux/network/dpdk.sls

+ 3
- 1
linux/network/dpdk.sls View File

@@ -148,8 +148,10 @@ linux_network_dpdk_bridge_port_interface_{{ interface_name }}:
- 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 %}


Loading…
Cancel
Save