[dpdk-users] Help: DPDK-QoS Scheduler

Manoj Mallawaarachchi manoj_ws at yahoo.com
Wed Sep 13 18:15:22 CEST 2017

Hi Nikhil,

Thanks for the quick feedback and advice. Basically I'm try to develop open source INTERNET gateway application to control bandwidth based on client -ip and protocol and this is dynamically get client IP from traffic flow and apply the policy based on configured client profile.

Please elaborate little bit more on below: as per the scheduler code it's not clear.

1) How to map client IP to sub-port
2) How to map protocol to TC etc.

Please advice the way forward.

Thank you,
Manoj M
On Wed, 9/13/17, Nikhil Jagtap <nikhil.jagtap at gmail.com> wrote:

 Subject: Re: Help: DPDK-QoS Scheduler
 To: "Manoj Mallawaarachchi" <manoj_ws at yahoo.com>, users at dpdk.org
 Date: Wednesday, September 13, 2017, 3:09 PM
 I am not clear about your
 requirement. Depending on how you want to shape your
 traffic, you will need to init your scheduler and
 accordingly classify the traffic to derive the values of
 port/subport/pipe/tc/queue. For instance, if you want to
 limit band-width for different clients, your client IP can
 map to sub-port level. If you want to prioritise say RTP
 over HTTP, you can map RTP to traffic-class-0 and HTTP to
 Please refer the dpdk documentation
 for details.
 On 12 September 2017 at
 23:25, Manoj Mallawaarachchi <manoj_ws at yahoo.com>
 Sorry directly address this mail to you, I got your email
 from previous mail threads. I need some help to clarify
 below points related to DPDK QOS.
 1) I'm developing L2 forwarding app based on basic L2
 forwarder. So I need to implement client IP based QoS
 scheduler to this forwarder , like I want to shape HTTP
 traffic for client IP- for example.
 the L2 forwarder forwarding traffic from and to INTERNET
 router (this is working fine) and I'm getting DHCP from
 router and clients able to browse while traffic forwarding
 via L2 forwarder.
 I'm not clear how can I define  and implement TC and
 shaping to L2 forwarder or IP-Pipeline. Specially define
 ports/sub ports/pipes/queues etc to traffic flow. I go
 through QoS scheduler example, but it not clear to me.
 your advice highly appreciated.
 Thank you,

More information about the users mailing list