Hi All,

       Does Traffic Shaping supported on VhostUser ports, using either
linux TC utility or OVS HTB Qdisc ? My understanding is currently it
supports only Egress Policer.

   Also is there way to rate limit the traffic (Bandwidth) from Guest Os
(It runs OVS) to Host Vm ? (the communication to Host Vm achieved using
VhostUser Ports)

I have tried the following OVS commands on Vhostuser ports.It seems these
are not effective because Vhostuser ports does not support the concept of
OVS queues.

ovs-vsctl --no-wait add-br br0 -- set bridge br0 datapath_type=netdev

ovs-vsctl --no-wait  add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk
ovs-vsctl --no-wait  add-port br0 dpdk1 -- set Interface dpdk1 type=dpdk

ovs-ofctl add-flow br0 in_port=1,action=set_queue=0,output:3
ovs-ofctl add-flow br0 in_port=2,action=set_queue=1,output:3

The traffic coming from port 1 and port 2 is always going to queue 0
only.Tried with Multi-queue option but no luck.

discuss mailing list

Reply via email to