Config: linux: network: tap_custom_txqueuelen: 10000 in case of configuration parameter defined will create file: /etc/udev/rules.d/60-net-txqueue.rules with content: KERNEL==”tap[0-9a-z\-]*", RUN+="/sbin/ip link set %k txqueuelen 10000"tags/2017.4
- timeout: 2 | - timeout: 2 | ||||
- attempts: 2 | - attempts: 2 | ||||
**setting custom TX queue length for tap interfaces** | |||||
.. code-block:: yaml | |||||
linux: | |||||
network: | |||||
tap_custom_txqueuelen: 10000 | |||||
DPDK OVS interfaces | DPDK OVS interfaces | ||||
-------------------- | -------------------- | ||||
KERNEL==”tap[0-9a-z\-]*", RUN+="/sbin/ip link set %k txqueuelen {{ network.tap_custom_txqueuelen }}" |
- enable: false | - enable: false | ||||
{%- endif %} | {%- endif %} | ||||
{%- if network.tap_custom_txqueuelen is defined %} | |||||
/etc/udev/rules.d/60-net-txqueue.rules: | |||||
file.managed: | |||||
- source: salt://linux/files/60-net-txqueue.rules | |||||
- mode: 755 | |||||
- template: jinja | |||||
{%- endif %} |