Commit e76d9f86 authored by Trung Nguyen's avatar Trung Nguyen
Browse files

Merge branch 'mellanox_config_chg' into 'master'

bugfix traffic class was not set on VMs

See merge request !536
parents 34f17c10 f8735efc
......@@ -74,6 +74,8 @@ done
{% if "OpenStack Nova" in ansible_product_name %}
{% for device in qibdevicenames.stdout_lines %}
printf "echo 106 > /sys/class/infiniband/{{ device }}/tc/1/traffic_class \n"
echo 106 > /sys/class/infiniband/{{ device }}/tc/1/traffic_class
printf "`which cma_roce_tos` -d $dev -t 106 \n"
`which cma_roce_tos` -d {{ device }} -t 106
{% endfor %}
{% endif %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment