ソースを参照

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年前
コミット
6c6d3b5bf1
1個のファイルの変更3行の追加1行の削除
  1. +3
    -1
      linux/network/dpdk.sls

+ 3
- 1
linux/network/dpdk.sls ファイルの表示

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


読み込み中…
キャンセル
保存