From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0074.outbound.protection.outlook.com [104.47.34.74]) by dpdk.org (Postfix) with ESMTP id 4E3FF2BCE for ; Wed, 23 Aug 2017 07:37:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mavenir365.onmicrosoft.com; s=selector1-mavenir-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=mqi1fe6CqbPYB+CIjoyKsbLzpYMuOToUzCb4WFWkbLc=; b=u/BuzLdpOjqBLY132ZRgWN+c4ymvsj2KVx7QUqh4b3h/glThyvlz9SwXanu0G4burVchA1AdBrgpT8+FrYNUtNSyJuN5v8DY7V/yhdLUI9uPSvs0GT2sMNHX5UdSe9S/TJsj3hYVhvMD0VszHKlWlsZVN8L4DWA8C99WtfB50B0= Received: from BN6PR11MB1585.namprd11.prod.outlook.com (10.172.23.10) by BN6PR11MB1764.namprd11.prod.outlook.com (10.175.99.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1362.18; Wed, 23 Aug 2017 05:37:09 +0000 Received: from BN6PR11MB1585.namprd11.prod.outlook.com ([10.172.23.10]) by BN6PR11MB1585.namprd11.prod.outlook.com ([10.172.23.10]) with mapi id 15.01.1362.019; Wed, 23 Aug 2017 05:37:09 +0000 From: Kevin Yan To: "Dumitrescu, Cristian" , "dev@dpdk.org" Thread-Topic: DPDK qos support for 40G port Thread-Index: AdMMxKhWKp0eplWUQ4+rv61P+2CwUAAQjL5QAIvigwACN191kADvd9dQ Date: Wed, 23 Aug 2017 05:37:09 +0000 Message-ID: References: <3EB4FA525960D640B5BDFFD6A3D891267BA8A355@IRSMSX108.ger.corp.intel.com> <3EB4FA525960D640B5BDFFD6A3D891267BA9C525@IRSMSX108.ger.corp.intel.com> In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D891267BA9C525@IRSMSX108.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Kevin.Yan@mavenir.com; x-originating-ip: [116.247.106.11] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BN6PR11MB1764; 6:nd1nvcSG1UZkCXlJ28SwM2da+e2YibOTUowiqDL7tetXwG5x1QDzDW94Ykz0fyiVOfyxSLAmHORq/M5Szd9NfAf8+aeixPPSNNOcA1VVaTpGNWKwV5rETnF40374OoGD5OTVNfdBiXLIPaDRHkvQiYs3K7J5I6phJNAZVxxD19/UOa9nhx/m/yv77XnnopGdEc1Hl18KEWrvkV1CddmZlFR6TnOJZc5HsfG4+etwPMraoR6lyr8RroIOln4YHWde8HRfMv21L5lPOTNdsQQHukHAIZJNsY2GLW+skwgKL4FW7dhwm3hNeHYxp8QXOxlUguR9c/zWngH3d1qN65Ft0w==; 5:HS3cfbWVXmxPwERy8L/BO6P40nwg6rQXNZWZZ0OHzcXz0WGWMWQcMCLk43ouMMDIgd0bsTvQXqOHPHNL4R/r+zPtCNCd0EoAPpcpG6MOeLkOLOwlVXFd7P2B103NtSvAevryQVi950xMFMOqci6Ohw==; 24:IJMreG8MIWLES/1O4E3KtrFFJAsyPTPaZX472B7SD/DqYkKQT76+1fPlp49tZldhgSmKUultB7ZOQxCXE5/NTjaGWibuxzcTmDfjrw5Cv+M=; 7:072+dsxQ60T9ZEhVKR8yVSs34I1tKq+N8qmqGhpEN1zElqg5+jjopFR5aXnclPP3brg/CKiigMJhr0vC9qj9wvy0KiblM3Nl6mfQBGnRQ52PP3Kyx3pmCzyMEeoIj3JgvpkZEAMw87Zr05kJ9B8lWRgMm16gnkoCvyCvvKk1P4v/8ib+HCVmPLRLCkpPNhBGBVqYKueoCzFfM+gUul4g/4vZNiXRqylE2lz38Ij9YRo= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 3c483603-e341-4c29-4b10-08d4e9e8ff9a x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN6PR11MB1764; x-ms-traffictypediagnostic: BN6PR11MB1764: x-exchange-antispam-report-test: UriScan:(228905959029699); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(20161123555025)(20161123562025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR11MB1764; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR11MB1764; x-forefront-prvs: 040866B734 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(199003)(13464003)(189002)(377454003)(189998001)(81156014)(72206003)(86362001)(53936002)(3280700002)(3660700001)(478600001)(33656002)(14454004)(2950100002)(305945005)(2906002)(2501003)(2900100001)(7696004)(8936002)(8676002)(81166006)(74316002)(7736002)(105586002)(101416001)(102836003)(3846002)(106356001)(6246003)(6116002)(6506006)(25786009)(55016002)(53546010)(76176999)(54356999)(50986999)(68736007)(229853002)(5660300001)(77096006)(99286003)(6436002)(66066001)(97736004)(9686003)(93886005); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR11MB1764; H:BN6PR11MB1585.namprd11.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: mavenir.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: mavenir.com X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Aug 2017 05:37:09.2631 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 7fa7d4ff-bf19-464b-89a6-a132b269d68c X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1764 Subject: Re: [dpdk-dev] DPDK qos support for 40G port X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Aug 2017 05:37:13 -0000 Thanks, Cristian -----Original Message----- From: Dumitrescu, Cristian [mailto:cristian.dumitrescu@intel.com] Sent: Friday, August 18, 2017 7:24 PM To: Kevin Yan ; dev@dpdk.org Subject: RE: DPDK qos support for 40G port Hi Kevin, > Hi Cristian, > Sorry to bother again, could you give suggestions/hints of code change > to support single 40G port? Because in our setup, we will use single > 40G port (Intel XL710) as the network interface. > > Or is there any workaround to bypass the limitation?(we are not > willing to use 4*10G setup) > > Thanks. > Probably the easiest thing to do as workaround to support single port of 40= GbE rate is to change the code so that each credit is equivalent to 2 bytes= instead of one. This is likely to result in some scheduling accuracy loss,= but it can be implemented relatively quickly while avoiding complex code c= hanges. Regards, Cristian ________________________________ Please Note: My email address is changing. Starting May 1st 2017 my email w= ill solely be my Mavenir email firstname.lastname@mavenir.com. All other pr= ior email accounts will become inactive. To ensure continuity, please send = all emails to my Mavenir email ID which is currently active and available f= or use. This e-mail message may contain confidential or proprietary information of = Mavenir Systems, Inc. or its affiliates and is intended solely for the use = of the intended recipient(s). If you are not the intended recipient of this= message, you are hereby notified that any review, use or distribution of t= his information is absolutely prohibited and we request that you delete all= copies in your control and contact us by e-mailing to security@mavenir.com= . Thank You. This message contains the views of its author and may not nece= ssarily reflect the views of Mavenir Systems, Inc. or its affiliates, who e= mploy systems to monitor email messages, but make no representation that su= ch messages are authorized, secure, uncompromised, or free from computer vi= ruses, malware, or other defects.