[ovs-discuss] "ovs-vsctl ... create queue ..." option

Maurice Qureshi Maurice.Qureshi at calix.com
Tue Aug 2 01:19:14 UTC 2016


Hi All,

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?

Is it possible to assign priority to a queue when it is getting created.

Thanks
Maurice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160802/efbfa16c/attachment-0002.html>


More information about the discuss mailing list