From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id D1F902C54 for ; Wed, 12 Jul 2017 20:20:59 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jul 2017 11:20:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,351,1496127600"; d="scan'208";a="125804263" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga005.fm.intel.com with ESMTP; 12 Jul 2017 11:20:58 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 12 Jul 2017 11:20:57 -0700 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.214]) by fmsmsx116.amr.corp.intel.com ([169.254.2.173]) with mapi id 14.03.0319.002; Wed, 12 Jul 2017 11:20:57 -0700 From: "Wiles, Keith" To: Thomas Monjalon CC: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , "Stephen Hemminger" , Olivier Matz , "Yang, Zhiyong" , DPDK , "Wang, Zhihong" , Yuanhan Liu , "Ananyev, Konstantin" , "Richardson, Bruce" , "Chilikin, Andrey" , Jan Blunck , =?utf-8?B?TsOpbGlvIExhcmFuamVpcm8=?= , Andrew Rybchenko , "jerin.jacob@caviumnetworks.com" Thread-Topic: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port andnbsegments Thread-Index: AQHS+vRWt1QOXKj6u0Ky6QhJXrCrPKJQyIQAgAAGCoCAAAdRAIAAIMKA Date: Wed, 12 Jul 2017 18:20:56 +0000 Message-ID: References: <1488966121-22853-1-git-send-email-olivier.matz@6wind.com> <20170712083550.62bd9442@xeon-e3> <98CBD80474FA8B44BF855DF32C47DC359EB297@smartserver.smartshare.dk> <1911402.Nq572ABAkn@xps> In-Reply-To: <1911402.Nq572ABAkn@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.72.76] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 6/8] mbuf: use 2 bytes for port andnbsegments 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: Wed, 12 Jul 2017 18:21:00 -0000 DQo+IE9uIEp1bCAxMiwgMjAxNywgYXQgMTE6MjMgQU0sIFRob21hcyBNb25qYWxvbiA8dGhvbWFz QG1vbmphbG9uLm5ldD4gd3JvdGU6DQo+IA0KPiAxMi8wNy8yMDE3IDE3OjU3LCBNb3J0ZW4gQnLD uHJ1cDoNCj4+IEZyb206IFN0ZXBoZW4gSGVtbWluZ2VyDQo+Pj4gTW9ydGVuIEJyw7hydXAgPG1i QHNtYXJ0c2hhcmVzeXN0ZW1zLmNvbT4gd3JvdGU6DQo+Pj4+IEZyb206IFlhbmcsIFpoaXlvbmcg W21haWx0bzp6aGl5b25nLnlhbmdAaW50ZWwuY29tXQ0KPj4+Pj4gRnJvbTogTW9ydGVuIEJyw7hy dXANCj4+Pj4+PiBGcm9tOiBXaWxlcywgS2VpdGgNCj4+Pj4+Pj4+IE9uIEp1bCAxMSwgMjAxNywg YXQgMTA6MjMgQU0sIE1vcnRlbiBCcsO4cnVwIHdyb3RlOg0KPj4+Pj4+Pj4gRnJvbTogVGhvbWFz IE1vbmphbG9uDQo+Pj4+Pj4+Pj4gMTEvMDcvMjAxNyAxNTozMCwgTW9ydGVuIEJyw7hydXA6DQo+ Pj4+Pj4+Pj4+IE1vcnRlbiBCcsO4cnVwIHdyb3RlOg0KPj4+Pj4+Pj4+Pj4gT2xpdmllciBNYXR6 IHd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