From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EBE7CA052E; Mon, 9 Mar 2020 15:16:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 54B011C068; Mon, 9 Mar 2020 15:16:12 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id D48732BE6; Mon, 9 Mar 2020 15:16:10 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Mar 2020 07:16:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,533,1574150400"; d="scan'208";a="241980962" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by orsmga003.jf.intel.com with ESMTP; 09 Mar 2020 07:16:06 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.138]) by IRSMSX154.ger.corp.intel.com ([169.254.12.252]) with mapi id 14.03.0439.000; Mon, 9 Mar 2020 14:16:05 +0000 From: "Richardson, Bruce" To: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , "Yigit, Ferruh" , Gavin Hu , "dev@dpdk.org" CC: nd , "david.marchand@redhat.com" , "thomas@monjalon.net" , "ktraynor@redhat.com" , "jerinj@marvell.com" , "Honnappa Nagarahalli" , Ruifeng Wang , Phil Yang , Joyce Kong , "stable@dpdk.org" , Olivier MATZ , "Ananyev, Konstantin" , Andrew Rybchenko Thread-Topic: [dpdk-dev] [PATCH v2] mbuf: replace zero-length marker with unnamed union Thread-Index: AQHV9hcKxdIdMjnae0CUhv9js5cNEqhATf6A Date: Mon, 9 Mar 2020 14:16:04 +0000 Message-ID: <59AF69C657FD0841A61C55336867B5B0975BCF34@IRSMSX103.ger.corp.intel.com> References: <20200303162728.93744-1-gavin.hu@arm.com> <20200307155629.45021-1-gavin.hu@arm.com> <4135ab73-75d3-421a-264d-2951fc096133@intel.com> <98CBD80474FA8B44BF855DF32C47DC35C60EA3@smartserver.smartshare.dk> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35C60EA3@smartserver.smartshare.dk> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] mbuf: replace zero-length marker with unnamed union 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IDxkZXYtYm91bmNl c0BkcGRrLm9yZz4gT24gQmVoYWxmIE9mIE1vcnRlbiBCcsO4cnVwDQo+IFNlbnQ6IE1vbmRheSwg TWFyY2ggOSwgMjAyMCAxOjMxIFBNDQo+IFRvOiBZaWdpdCwgRmVycnVoIDxmZXJydWgueWlnaXRA aW50ZWwuY29tPjsgR2F2aW4gSHUgPEdhdmluLkh1QGFybS5jb20+Ow0KPiBkZXZAZHBkay5vcmcN Cj4gQ2M6IG5kIDxuZEBhcm0uY29tPjsgZGF2aWQubWFyY2hhbmRAcmVkaGF0LmNvbTsgdGhvbWFz QG1vbmphbG9uLm5ldDsNCj4ga3RyYXlub3JAcmVkaGF0LmNvbTsgamVyaW5qQG1hcnZlbGwuY29t OyBIb25uYXBwYSBOYWdhcmFoYWxsaQ0KPiA8SG9ubmFwcGEuTmFnYXJhaGFsbGlAYXJtLmNvbT47 IFJ1a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