Explorar el Código

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 hace 7 años
padre
commit
6c6d3b5bf1
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. +3
    -1
      linux/network/dpdk.sls

+ 3
- 1
linux/network/dpdk.sls Ver fichero

@@ -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 %}


Cargando…
Cancelar
Guardar