Hi,
Could you try the following:
At the VM:
- Configure 3 VLANs (let's say) and map each one of to egress with specific priority
let's say
- Management VLAN10 - priority 1
- Service VLAN30 - priority 3
- Storage VLAN50 - priority 5
to do that use the command vconfig set_egress_map
see example here ( End-to-End QoS Configuration for Mellanox Switches and Adapters )
# for i in {0..7}; do vconfigset_egress_map eth1.10 $i 1 ; done
# for i in {0..7}; do vconfigset_egress_map eth1.30 $i 3 ; done
# for i in {0..7}; do vconfigset_egress_map eth1.50 $i 5 ; done
At this point, the VM will generate traffic within each VLAN colored with the specific priority (on the VLAN tag)
e.g. traffic with the management VLAN will always egress with priority=1 on the VLAN tag.
At the Hypervisor
Run the command mlx_qos (see here and example: End-to-End QoS Configuration for Mellanox Switches and Adapters)
This command maps the priority to TC (Traffic Class) and supply the rate limiting and ETS configuration.
Let me know how it goes.
Thanks,
Ophir.