修改atca vxlan流量属性接入配置

This commit is contained in:
fumingwei
2021-04-13 09:42:11 +08:00
parent 8338693e40
commit 9dcd0cfbdd
9 changed files with 20 additions and 14 deletions

View File

@@ -10,7 +10,7 @@ ethtool -K {{ packet_io.internal_interface }} gro off
ethtool -K {{ packet_io.external_interface }} tso off
ethtool -K {{ packet_io.external_interface }} gso off
ethtool -K {{ packet_io.external_interface }} gro off
{% elif tsg_access_type == 4 %}
{% elif tsg_access_type == 4 or tsg_access_type == 5 %}
echo 3 > /sys/class/net/{{ ATCA_data_incoming.ethname }}/device/sriov_numvfs
ip link set {{ ATCA_data_incoming.ethname }} vf 1 vlan 4095
ip link set {{ ATCA_data_incoming.ethname }} vf 2 vlan 4095