DPDK usage discussions
 help / color / mirror / Atom feed
From: Manoj Mallawaarachchi <manoj_ws@yahoo.com>
To: Manoj Mallawaarachchi <manoj_ws@yahoo.com>,  <users@dpdk.org>,
	 Nikhil Jagtap <nikhil.jagtap@gmail.com>
Subject: Re: [dpdk-users] Help: DPDK-QoS Scheduler
Date: Wed, 13 Sep 2017 16:15:22 +0000 (UTC)	[thread overview]
Message-ID: <432462133.1310062.1505319322369@mail.yahoo.com> (raw)
In-Reply-To: <432462133.1310062.1505319322369.ref@mail.yahoo.com>

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
 
 
 

       reply	other threads:[~2017-09-13 16:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <432462133.1310062.1505319322369.ref@mail.yahoo.com>
2017-09-13 16:15 ` Manoj Mallawaarachchi [this message]
     [not found] <1001738220.546647.1505238931425.ref@mail.yahoo.com>
     [not found] ` <1001738220.546647.1505238931425@mail.yahoo.com>
2017-09-13 11:09   ` Nikhil Jagtap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=432462133.1310062.1505319322369@mail.yahoo.com \
    --to=manoj_ws@yahoo.com \
    --cc=nikhil.jagtap@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).