From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 7CC1AAD86 for ; Wed, 15 Jun 2016 14:12:28 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 15 Jun 2016 05:12:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,475,1459839600"; d="scan'208,217";a="719427841" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by FMSMGA003.fm.intel.com with ESMTP; 15 Jun 2016 05:12:27 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 15 Jun 2016 05:12:27 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 15 Jun 2016 05:12:26 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.8]) with mapi id 14.03.0248.002; Wed, 15 Jun 2016 20:12:23 +0800 From: "Yang, Tao Y" To: "dev@dpdk.org" Thread-Topic: bug in struct rte_sched_port_hierarchy define? Thread-Index: AdHG/wuBOFP5vXK+SeOG34mlmX+egA== Date: Wed, 15 Jun 2016 12:12:23 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzc1NjM0ZmMtNzMzZi00ZjNkLTlhYzEtMWVhNjk4MzBmNTM3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkFQNkplRmdFdG5wVVp6ekx1OUlhQXFGVGZmcFgxVVF5aGpiRWM3T3E5MzQ9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] bug in struct rte_sched_port_hierarchy define? 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: Wed, 15 Jun 2016 12:12:29 -0000 In rte_sched.c struct rte_sched_port_hierarchy { uint16_t queue:2; /**< Queue ID (0 .. 3) */ uint16_t traffic_class:2; /**< Traffic class ID (0 .. 3)*/ uint32_t color:2; /**< Color */ uint16_t unused:10; uint16_t subport; /**< Subport ID */ uint32_t pipe; /**< Pipe ID */ }; The uint32_t color:2; /**< Color */ should be uint16_t color:2; /**< Color */