From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id D100FC3EA for ; Mon, 11 May 2015 14:47:04 +0200 (CEST) Received: by wiun10 with SMTP id n10so94910599wiu.1 for ; Mon, 11 May 2015 05:47:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=EgBGILLgL6n3M2QE5GUz/EyI4GOVxFmKDbUw9ezZ8jA=; b=THkpZuksCkdnyq25FtZQqeSiuVVVHPizs/6YegSpYaL1quPmBqzeHl6w9sTJWBlRZD nJ77OLvuphukJQU8g0SZh06d/Ha/bRm6cZzxltPSPwUHupBX2gfklh+XU0auDKPQ8qEK gE+yflRAE0j7rjkscPN2kswgBmt2d7LfZOB5kV8SJy7GEhpGBoO3ZSA6nz9VZcTF0jQJ +Q9we0/apclWv/bCLPFset14cmn1SbuZjdf98b3yGb6zszAtBcC+mh9s7HYycQj5ung5 ykPIAMp6hBAuzd9n4QtHCi/LzPfG9WiYRG9LWtmvxhIQpo2vTF3/tKvXmWoUHt/9UKc2 b73g== X-Gm-Message-State: ALoCoQkyyxkbOGkh1ngf87aEFlmykvADjmDnFnYyOAR3be5dCRpXRxbqNaNkgwvvYoQFjnzhbIHX X-Received: by 10.180.77.83 with SMTP id q19mr19965096wiw.89.1431348424613; Mon, 11 May 2015 05:47:04 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id yr1sm22687530wjc.37.2015.05.11.05.47.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 May 2015 05:47:03 -0700 (PDT) From: Thomas Monjalon To: Stephen Hemminger Date: Mon, 11 May 2015 14:46:23 +0200 Message-ID: <7997228.lT91L8YRbV@xps13> Organization: 6WIND User-Agent: KMail/4.14.7 (Linux/4.0.1-1-ARCH; KDE/4.14.7; x86_64; ; ) In-Reply-To: <1430327080-12642-3-git-send-email-stephen@networkplumber.org> References: <1430327080-12642-1-git-send-email-stephen@networkplumber.org> <1430327080-12642-3-git-send-email-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Stephen Hemminger Subject: Re: [dpdk-dev] [PATCH 2/6] 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: Mon, 11 May 2015 12:47:05 -0000 2015-04-29 10:04, Stephen Hemminger: > --- a/lib/librte_mbuf/rte_mbuf.h > +++ b/lib/librte_mbuf/rte_mbuf.h > @@ -285,7 +285,10 @@ struct rte_mbuf { > /**< First 4 flexible bytes or FD ID, dependent on > PKT_RX_FDIR_* flag in ol_flags. */ > } fdir; /**< Filter identifier if FDIR enabled */ > - uint32_t sched; /**< Hierarchical scheduler */ > + struct { > + uint32_t lo; > + uint32_t hi; > + } sched; /**< Hierarchical scheduler */ Please don't use tabs to align a comment.