From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0076.outbound.protection.outlook.com [104.47.41.76]) by dpdk.org (Postfix) with ESMTP id 75F8A2BC8 for ; Mon, 7 Aug 2017 06:42:32 +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=zaXN8C3mC2gERqo2yDRtXJ1lws46Hpw3blncdvKIV5c=; b=Hh3LzNhMjIssXd/3O3MJefBv2M8Z5LDFn83cL+2f4waHJFa87rUeoSJJAiMkeWQ8wXisLOcJO0+HxQRnnjFkcE+B+0F05iiAAd2q6IIBXphGchPos2jndoqJIp9pPJ8XYOQxvmOhzDQa2+qdqdfd5iElfFpg0wBp5Y3D/AtPXjg= Received: from BN6PR11MB1585.namprd11.prod.outlook.com (10.172.23.10) by BN6PR11MB1588.namprd11.prod.outlook.com (10.172.23.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1320.16; Mon, 7 Aug 2017 04:42:30 +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.1320.018; Mon, 7 Aug 2017 04:42:30 +0000 From: Kevin Yan To: "Dumitrescu, Cristian" , "dev@dpdk.org" Thread-Topic: DPDK qos support for 40G port Thread-Index: AdMMxKhWKp0eplWUQ4+rv61P+2CwUAAQjL5QAIvigwA= Date: Mon, 7 Aug 2017 04:42:30 +0000 Message-ID: References: <3EB4FA525960D640B5BDFFD6A3D891267BA8A355@IRSMSX108.ger.corp.intel.com> In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D891267BA8A355@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; BN6PR11MB1588; 6:R2oZqS41GEYXlGzHWUdLR2SoNFH9IC1j5833+EjuhMkcj84X542/QXwLdmCiUfAp6UDz9g/6ITcr0emfXKEI/y/ZnjSwcSnuypPU0cky+Aqk8gy9WG9PSDLuTIW/+6CUgdqObtxCqGlQkBoLPZLsL9kM5F0RcC1c3hjNi2sH+Mg9A/9Z41/yjFx0xEzcKBOWvEKIbXMQYequFpTepclb+3KRbZkkOhFtEb6USzEybdd8BOQDCpBbRK5MMnlonugcQcNpjMxvsFj4cKmXi8eG3sdygC8PZKLqx8MfHDjOloI47VbK3HpAvdVdmhLK9vDUwJtZ9uRF8H3CSuNZ5WBtgA==; 5:8QFxS9nqdG5pDpME50AdFLz4p9/zDx4kxmEGWxG6GYy6Ih6Qlu30+yO/CrzM9g8SAuq8M+i4ylUAmpmd5TvRdHp2Iz+UKAGg2NlSJ81vFPatgW2NTj0hR0D54JHcLXXdm2tbJ6y1QTEFI0paCgrA5g==; 24:Og91KMGuxzuQeN4HVjvN4UCBKTtJM7fr5nSxVoi90O4mNvfU4JIPm6dnO/NTZz2gwZwM3BEYGJilq1JyQ77VYSMlAOedFF0TJdv5Qr0lNwE=; 7:2jzqMQnmH0CNrLdzWVv02jWAlIMi35w+0DvSJPr1TAYJYlIjph6YyBcFToM90uy7O0iqzW54NewlJe09N1JmFBvL6vbUjt9DSzeMfPdBfPr1RC3YNNAcgnXloC+oPzReCimzzb8nCHyEmznmYc8F4Ag428at9ufnJZwHwcGBe/uVIVIqMpYw8zbX27wVLaOrky0bBJTX5uu+ZJh+sX3oHEv78hcQ+7eHNOxRetkW398= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 713ec35b-8138-4b1b-b830-08d4dd4eb6a9 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:BN6PR11MB1588; x-ms-traffictypediagnostic: BN6PR11MB1588: 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)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(6041248)(20161123555025)(20161123558100)(20161123560025)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR11MB1588; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR11MB1588; x-forefront-prvs: 0392679D18 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39450400003)(39400400002)(39410400002)(39850400002)(39840400002)(13464003)(377454003)(199003)(189002)(33656002)(101416001)(86362001)(7696004)(55016002)(9686003)(5660300001)(53936002)(2501003)(99286003)(3660700001)(81156014)(229853002)(8676002)(8936002)(3280700002)(81166006)(74316002)(6436002)(2900100001)(66066001)(7736002)(305945005)(2906002)(189998001)(53546010)(106356001)(478600001)(68736007)(2950100002)(97736004)(72206003)(77096006)(6246003)(38730400002)(76176999)(105586002)(6506006)(25786009)(50986999)(54356999)(6116002)(3846002)(14454004)(102836003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR11MB1588; 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: 07 Aug 2017 04:42:30.1752 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 7fa7d4ff-bf19-464b-89a6-a132b269d68c X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1588 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: Mon, 07 Aug 2017 04:42:33 -0000 Hi Cristian, Sorry to bother again, could you give suggestions/hints of code change to s= upport 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. -----Original Message----- From: Dumitrescu, Cristian [mailto:cristian.dumitrescu@intel.com] Sent: Friday, August 04, 2017 5:57 PM To: Kevin Yan ; dev@dpdk.org Subject: RE: DPDK qos support for 40G port Hi Kevin, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Kevin Yan > Sent: Friday, August 4, 2017 2:55 AM > To: dev@dpdk.org > Subject: [dpdk-dev] DPDK qos support for 40G port > > Hi, > I have a question about dpdk qos feature, in > rte_sched.h, ... > rate is type of uint32_t, but if physical port rate is > 40G bit/s, which is 5G byte/s, 5G already exceed the max value of > uint32_t, so I doult that 40G is not supported by dpdk qos lib, or any er= ror of my understanding? > Yes, your understanding is correct, currently the port rate in bytes per se= cond needs to be represented as 32-bit number. So, we can currently do single port with 10GbE and 25GbE rate, but not sing= le port of 40GbE or 100GbE. Please note that we can do 40GbE as 4 ports of = 10GbE each, which is a very common configuration for 40GbE. This limitation is not trivial to remove, i.e. more code is needed to remov= e this limitation than just changing the rate data type to uint64_t. Thanks for your feedback. Good to know that we should upgrade this library = to support 40GbE rates sooner rather than later. > Thanks and waiting for your reply! > > > BRs, > Kevin > 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.