From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id AC0317EB0 for ; Thu, 4 Dec 2014 13:54:50 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 04 Dec 2014 04:54:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="425020333" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by FMSMGA003.fm.intel.com with ESMTP; 04 Dec 2014 04:44:29 -0800 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.144]) by IRSMSX104.ger.corp.intel.com ([169.254.5.209]) with mapi id 14.03.0195.001; Thu, 4 Dec 2014 12:54:48 +0000 From: "Ananyev, Konstantin" To: Michael Qiu , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] test-pmd: Fix pointer aliasing error Thread-Index: AQHQD8CFeM59jV4d+UOZlL5ivkcQLJx/Yw6A Date: Thu, 4 Dec 2014 12:54:47 +0000 Message-ID: <2601191342CEEE43887BDE71AB977258213BC8B1@IRSMSX105.ger.corp.intel.com> References: <533710CFB86FA344BFBF2D6802E60286C9C893@SHSMSX101.ccr.corp.intel.com> <1417663711-19576-1-git-send-email-michael.qiu@intel.com> In-Reply-To: <1417663711-19576-1-git-send-email-michael.qiu@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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] test-pmd: Fix pointer aliasing error 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, 04 Dec 2014 12:54:51 -0000 DQo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