OVS-DPDK can configure a max transmission rate for a port with the following

ovs-vsctl set port vhost-user-port qos=@newqos -- --id=@newqos create qos 
type=egress-policer other-config:cir=1250000 other-config:cbs=2048

A few things to note, QoS only works on a per port basis in OVS-DPDK currently. 
It does not support the creation of queues for QoS. For more info with regards 
to the egress policer QoS type you can consult the vswitch.xml. The following 
article also provides a guide to configuring it

https://software.intel.com/en-us/articles/qos-configuration-and-usage-for-open-vswitch-with-dpdk

Hope this helps.

Ian

From: Sam [mailto:[email protected]]
Sent: Wednesday, June 14, 2017 10:08 AM
To: Stokes, Ian <[email protected]>
Cc: [email protected]
Subject: Re: [dpdk-dev] Does ovs-dpdk support QoS on dpdkvhostuser port and 
other port?

Thank you,

I found normal ovs support this:

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

so I want to know whether dpdkport support command like this:

set port dpdkport qos=@newqos -- \
--id=@newqos create qos type=dpdk-qos-xxx-type \
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

If this support, what's 'dpdk-qos-xxx-type' is?

Thank you~




2017-06-14 16:21 GMT+08:00 Stokes, Ian 
<[email protected]<mailto:[email protected]>>:
> Hi, all
>
> Does ovs-dpdk support QoS on dpdkvhostuser port and other port, just like
> 'HTB' for kernel based ovs port?
>
> Or will ovs-dpdk support this?
Hi Sam,

Currently ovs-dpdk does not support HTB for QoS. In terms of what can be 
applied to a vhost user port (and other dpdk port types) you can apply and 
egress policer QoS type.

OVS-DPDK ports also support ingress policing via the rate limiter interface.

Out of curiosity, what aspect of HTB QoS is of interest? (Min bandwidth 
guarantee, priority etc).

Hope this helps.

Ian

_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to