From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: DPDK qos support for 40G port Date: Fri, 18 Aug 2017 10:21:58 -0700 Message-ID: <20170818102158.1d5f7d0f@xeon-e3> References: <3EB4FA525960D640B5BDFFD6A3D891267BA8A355@IRSMSX108.ger.corp.intel.com> <3EB4FA525960D640B5BDFFD6A3D891267BA9C525@IRSMSX108.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Kevin Yan , "dev@dpdk.org" To: "Dumitrescu, Cristian" Return-path: Received: from mail-pg0-f48.google.com (mail-pg0-f48.google.com [74.125.83.48]) by dpdk.org (Postfix) with ESMTP id EA6937CB4 for ; Fri, 18 Aug 2017 19:22:11 +0200 (CEST) Received: by mail-pg0-f48.google.com with SMTP id y129so68231650pgy.4 for ; Fri, 18 Aug 2017 10:22:11 -0700 (PDT) In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D891267BA9C525@IRSMSX108.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, 18 Aug 2017 11:24:12 +0000 "Dumitrescu, Cristian" wrote: > 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 40GbE 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 changes. > > Regards, > Cristian > Maybe it is time to deprecate existing QoS since it has so many fixed limits and start a new version which supports up to 400G and many more classes. Something that integrated better with your new QoS framework.