From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sonic306-47.consmr.mail.gq1.yahoo.com (sonic306-47.consmr.mail.gq1.yahoo.com [98.137.68.110]) by dpdk.org (Postfix) with ESMTP id 49455374E for ; Wed, 13 Sep 2017 18:19:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1505319563; bh=47NRSnCGMeOOaOtQnZjhbEwgoDcssZ3niy43UQ5W770=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=Oj1GbSFordTj83xWeanl6Jdqhwad3lV/4vYRzHzTF/e5I5cmnrco6wwPoFf7MRUyGyPS2EAOWY5pt2vF8bOCHELz+o0L1ImQc13UWvVqhH0a5M1GENwQ2FL/mHB/KW4x/L49BpCtXt7RQXg+HVYH3J1Ar7AuPXVFEhaGc0WuMC+/uaIKPy/vM56InB7x4a8xjMuwXH8NMX6fXJ44vhrX59aihIunZUahgflGRB1QZWmbeq5Y546ThCHWEEDO1HAAuNrL4LZAFpyvdsqrwmzIdwDY77Va8owwAkzCsLd6iaG/RcQPwtYzfZYbVedN/YOxw5nN90SHP4J1mlHqUDGS9w== X-YMail-OSG: 5XrHiRYVM1mXRZ2XJleE7NjuGTFqX9ZlLFRD8qXyCSOGriz2lRulwiF0PfVOjle HHZq8X9yutmDGC2dJPTegLK.4MgHdX0iOdYD.wfFpyU1fxM.ODWcV7eMT2VaEOSOz1z87rEznuIt h5v_CNCWiEuvd6Rfp6CnpX06bEnCVUb4copWczkRBeibc6okvdnObUUC.E5BVyS9FB5FgNa6KROi q70B2o.PmQIaYwcICJmNOeMUArigWDv1MKeSiCoTbnUErlaNXpvPIihrgns4orJxL4FlPtStZknH Q1iUTvSNv6Cx.yty.9YRMUJgeDS.o657gAdgub.rqeBKvK3_H2heZrRx457phnOmj6Ewe.yuB_kt r0WYgkm16pjhzYiFTIl190i.OXytkXQBR5vg5NbvRg99Wsv1D3TspwpcWWfFUzfr2eN8H8Ftp0ji BKX6Mt.ri7EnY.DkAClo8yLknBwmiuGnaJavnwmm1c5zX9oeJvCmLUFsMqCLiTeZ7GUSh Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Wed, 13 Sep 2017 16:19:23 +0000 Date: Wed, 13 Sep 2017 16:15:22 +0000 (UTC) From: Manoj Mallawaarachchi To: Manoj Mallawaarachchi , , Nikhil Jagtap Message-ID: <432462133.1310062.1505319322369@mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <432462133.1310062.1505319322369.ref@mail.yahoo.com> X-Mailer: WebService/1.1.10521 YahooMailBasic Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 Subject: Re: [dpdk-users] Help: DPDK-QoS Scheduler X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Manoj Mallawaarachchi List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2017 16:19:24 -0000 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 n= ot 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 wrote: Subject: Re: Help: DPDK-QoS Scheduler To: "Manoj Mallawaarachchi" , users@dpdk.org Date: Wednesday, September 13, 2017, 3:09 PM =20 Hi Manoj, =20 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.=C2=A0=C2=A0 Please refer the dpdk documentation for details. Nikhil=C2=A0 On 12 September 2017 at 23:25, Manoj Mallawaarachchi wrote: Dear Nikhil, =20 =20 =20 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. =20 =20 =20 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. =20 =20 =20 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. =20 =20 =20 I'm not clear how can I define=C2=A0 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. =20 =20 =20 your advice highly appreciated. =20 =20 =20 Thank you, =20 Manoj =20 =20 =20