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 67B5058E4 for ; Tue, 10 Mar 2015 04:00:56 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 09 Mar 2015 19:58:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,371,1422950400"; d="scan'208";a="464931684" Received: from kmsmsx151.gar.corp.intel.com ([172.21.73.86]) by FMSMGA003.fm.intel.com with ESMTP; 09 Mar 2015 19:54:11 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by KMSMSX151.gar.corp.intel.com (172.21.73.86) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 10 Mar 2015 11:00:47 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.150]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.228]) with mapi id 14.03.0224.002; Tue, 10 Mar 2015 11:00:46 +0800 From: "Qiu, Michael" To: "Mcnamara, John" , "Kavanagh, Mark B" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] rte_memcpy.h: additional cflags required with OVS Thread-Index: AdBah3Gj040QJ0mYRHia+o7JqLV4Xg== Date: Tue, 10 Mar 2015 03:00:46 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E60286CFBC54@SHSMSX101.ccr.corp.intel.com> References: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] rte_memcpy.h: additional cflags required with OVS 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: Tue, 10 Mar 2015 03:00:56 -0000 On 3/10/2015 8:57 AM, Mcnamara, John wrote:=0A= >> -----Original Message-----=0A= >> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Mcnamara, John=0A= >> Sent: Monday, March 9, 2015 5:51 PM=0A= >> To: Kavanagh, Mark B; dev@dpdk.org=0A= >> Subject: Re: [dpdk-dev] rte_memcpy.h: additional cflags required with OV= S=0A= >=0A= >>> In the meantime the following might work for OVS:=0A= >>>=0A= >>> $ ./configure CFLAGS=3D'-Wno-bad-function-cast -march=3Dnative' --w= ith-=0A= >>> dpdk=3D$DPDK_BUILD=0A= >>> $ make=0A= >>>=0A= >>>=0A= >=0A= > Hi,=0A= >=0A= > It will also need a patch like the following to netdev-dpdk to account fo= r changes in the RSS flags:=0A= >=0A= > $ git diff=0A= > diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c=0A= > index 1ba8310..90dd06f 100644=0A= > --- a/lib/netdev-dpdk.c=0A= > +++ b/lib/netdev-dpdk.c=0A= > @@ -97,8 +97,7 @@ static const struct rte_eth_conf port_conf =3D {=0A= > .rx_adv_conf =3D {=0A= > .rss_conf =3D {=0A= > .rss_key =3D NULL,=0A= > - .rss_hf =3D ETH_RSS_IPV4_TCP | ETH_RSS_IPV4 | ETH_RSS_IPV6= =0A= > - | ETH_RSS_IPV4_UDP | ETH_RSS_IPV6_TCP | ETH_RSS_IPV6= _UDP,=0A= > + .rss_hf =3D ETH_RSS_IP | ETH_RSS_UDP | ETH_RSS_TCP,=0A= > },=0A= > },=0A= > .txmode =3D {=0A= >=0A= > =0A= =0A= Yes, otherwise will lead a compile failure.=0A= =0A= Thanks,=0A= Michael=0A= >=0A= =0A=