On Tue, Aug 02, 2016 at 01:19:14AM +0000, Maurice Qureshi wrote:
> While using the "ovs-vsctl ... create queue" command to create multiple 
> queues on a port, how do priorities get assigned to these queues.
> 
> As given in the example if QOS section of 
> FAQ(https://github.com/openvswitch/ovs/blob/master/FAQ.md#qos), two queues 
> are created, 123 and 234.
> 
>    ovs-vsctl -- \
>        add-br br0 -- \
>        add-port br0 eth0 -- \
>        add-port br0 vif1.0 -- set interface vif1.0 ofport_request=5 -- \
>        add-port br0 vif2.0 -- set interface vif2.0 ofport_request=6 -- \
>        set port eth0 qos=@newqos -- \
>        --id=@newqos create qos type=linux-htb \
>            other-config:max-rate=1000000000 \
>            queues:123=@vif10queue \
>            queues:234=@vif20queue -- \
>        --id=@vif10queue create queue other-config:max-rate=10000000 -- \
>        --id=@vif20queue create queue other-config:max-rate=20000000
> 
> 
> While sending packets from this port to network, if packets happen to be 
> present in both queues, which queue will get served first?

You'll have to read the tc-htb manpage if you want to know how HTB
works.  HTB isn't part of OVS, OVS just knows how to configur it.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to