From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 11505B43B for ; Thu, 5 Feb 2015 10:57:31 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 05 Feb 2015 01:57:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="450166219" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by FMSMGA003.fm.intel.com with ESMTP; 05 Feb 2015 01:43:14 -0800 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.81]) by IRSMSX153.ger.corp.intel.com ([169.254.9.2]) with mapi id 14.03.0195.001; Thu, 5 Feb 2015 09:57:28 +0000 From: "Ananyev, Konstantin" To: Stephen Hemminger , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 2/7] rte_sched: expand scheduler hierarchy for more VLAN's Thread-Index: AQHQQQm6PHhOMq+ddUGr/iaylxU+i5zh0Aqg Date: Thu, 5 Feb 2015 09:57:27 +0000 Message-ID: <2601191342CEEE43887BDE71AB977258213E355A@irsmsx105.ger.corp.intel.com> References: <1423116294-17080-1-git-send-email-stephen@networkplumber.org> <1423116294-17080-2-git-send-email-stephen@networkplumber.org> In-Reply-To: <1423116294-17080-2-git-send-email-stephen@networkplumber.org> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Stephen Hemminger Subject: Re: [dpdk-dev] [PATCH v2 2/7] rte_sched: expand scheduler hierarchy for more VLAN's X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2015 09:57:32 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Stephen Hemminger > Sent: Thursday, February 05, 2015 6:05 AM > To: dev@dpdk.org > Cc: Stephen Hemminger > Subject: [dpdk-dev] [PATCH v2 2/7] rte_sched: expand scheduler hierarchy = for more VLAN's >=20 > From: Stephen Hemminger >=20 > The QoS subport is limited to 8 bits in original code. > But customers demanded ability to support full number of VLAN's (4096) > therefore use the full part of the tag field of mbuf. >=20 > Resize the pipe as well to allow for more pipes in future and > avoid expensive bitfield access. >=20 > Signed-off-by: Stephen Hemminger > --- > v2 use tag area rather than claiming reserved bit which isn't documented >=20 > lib/librte_mbuf/rte_mbuf.h | 5 ++++- > lib/librte_sched/rte_sched.h | 38 ++++++++++++++++++++++++-------------- > 2 files changed, 28 insertions(+), 15 deletions(-) Acked-by: Konstantin Ananyev