* Re: [dpdk-users] Help: DPDK-QoS Scheduler [not found] <432462133.1310062.1505319322369.ref@mail.yahoo.com> @ 2017-09-13 16:15 ` Manoj Mallawaarachchi 0 siblings, 0 replies; 2+ messages in thread From: Manoj Mallawaarachchi @ 2017-09-13 16:15 UTC (permalink / raw) To: Manoj Mallawaarachchi, users, Nikhil Jagtap 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@gmail.com> wrote: Subject: Re: Help: DPDK-QoS Scheduler To: "Manoj Mallawaarachchi" <manoj_ws@yahoo.com>, users@dpdk.org Date: Wednesday, September 13, 2017, 3:09 PM Hi Manoj, 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 traffic-class-3. Please refer the dpdk documentation for details. Nikhil On 12 September 2017 at 23:25, Manoj Mallawaarachchi <manoj_ws@yahoo.com> wrote: Dear Nikhil, 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- 192.168.2.5 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, Manoj ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <1001738220.546647.1505238931425.ref@mail.yahoo.com>]
[parent not found: <1001738220.546647.1505238931425@mail.yahoo.com>]
* Re: [dpdk-users] Help: DPDK-QoS Scheduler [not found] ` <1001738220.546647.1505238931425@mail.yahoo.com> @ 2017-09-13 11:09 ` Nikhil Jagtap 0 siblings, 0 replies; 2+ messages in thread From: Nikhil Jagtap @ 2017-09-13 11:09 UTC (permalink / raw) To: Manoj Mallawaarachchi, users Hi Manoj, 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 traffic-class-3. Please refer the dpdk documentation for details. Nikhil On 12 September 2017 at 23:25, Manoj Mallawaarachchi <manoj_ws@yahoo.com> wrote: > Dear Nikhil, > > 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- 192.168.2.5 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, > Manoj > ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-13 16:19 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <432462133.1310062.1505319322369.ref@mail.yahoo.com> 2017-09-13 16:15 ` [dpdk-users] Help: DPDK-QoS Scheduler Manoj Mallawaarachchi [not found] <1001738220.546647.1505238931425.ref@mail.yahoo.com> [not found] ` <1001738220.546647.1505238931425@mail.yahoo.com> 2017-09-13 11:09 ` Nikhil Jagtap
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).