From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 07D0658F1 for ; Fri, 27 Nov 2015 13:21:48 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 27 Nov 2015 04:21:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,351,1444719600"; d="scan'208";a="848221784" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga001.fm.intel.com with ESMTP; 27 Nov 2015 04:21:47 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.23]) by IRSMSX101.ger.corp.intel.com ([169.254.1.236]) with mapi id 14.03.0248.002; Fri, 27 Nov 2015 12:21:46 +0000 From: "De Lara Guarch, Pablo" To: "Qiu, Michael" , "dev@dpdk.org" Thread-Topic: [PATCH 1/2 v2] examples/distributor: Fix compile issue Thread-Index: AQHRKMTLoeA83QCEHUeS8j5cC473Bp6vyrkA Date: Fri, 27 Nov 2015 12:21:45 +0000 Message-ID: References: <1448501706-21718-1-git-send-email-michael.qiu@intel.com> <1448595365-12699-1-git-send-email-michael.qiu@intel.com> In-Reply-To: <1448595365-12699-1-git-send-email-michael.qiu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 1/2 v2] examples/distributor: Fix compile issue 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: Fri, 27 Nov 2015 12:21:49 -0000 > -----Original Message----- > From: Qiu, Michael > Sent: Friday, November 27, 2015 3:36 AM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo; thomas.monjalon@6wind.com; Qiu, Michael > Subject: [PATCH 1/2 v2] examples/distributor: Fix compile issue >=20 > examples/distributor/main.c(338): error #167: > argument of type "struct rte_mbuf *" > is incompatible with parameter of type "const char *" > _mm_prefetch(bufs[0], 0); >=20 > The first param pass to _mm_prefetch is wrong, > need convert "struct rte_mbuf *" to "void *". >=20 > Fixes: 07db4a975094 ("examples/distributor: new sample app") >=20 > Signed-off-by: Michael Qiu Acked-by: Pablo de Lara