From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 23E3E5952 for ; Tue, 10 Mar 2015 10:16:18 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 10 Mar 2015 02:10:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,373,1422950400"; d="scan'208";a="538552759" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by orsmga003.jf.intel.com with ESMTP; 10 Mar 2015 02:15:42 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.117]) by irsmsx110.ger.corp.intel.com ([169.254.15.236]) with mapi id 14.03.0195.001; Tue, 10 Mar 2015 09:16:06 +0000 From: "Kavanagh, Mark B" To: "Mcnamara, John" , "dev@dpdk.org" Thread-Topic: rte_memcpy.h: additional cflags required with OVS Thread-Index: AdBah3Gj040QJ0mYRHia+o7JqLV4XgACC7cAAA82PFAAEYTc4A== Date: Tue, 10 Mar 2015 09:16:05 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-IE, 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] 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 09:16:19 -0000 >-----Original Message----- >From: Mcnamara, John >Sent: Tuesday, March 10, 2015 12:57 AM >To: Mcnamara, John; Kavanagh, Mark B; dev@dpdk.org >Subject: RE: rte_memcpy.h: additional cflags required with OVS > >> -----Original Message----- >> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Mcnamara, John >> Sent: Monday, March 9, 2015 5:51 PM >> To: Kavanagh, Mark B; dev@dpdk.org >> Subject: Re: [dpdk-dev] rte_memcpy.h: additional cflags required with OV= S > > >>> In the meantime the following might work for OVS: >>> >>> $ ./configure CFLAGS=3D'-Wno-bad-function-cast -march=3Dnative' --w= ith- >>> dpdk=3D$DPDK_BUILD >>> $ make >>> >>> > > >Hi, > >It will also need a patch like the following to netdev-dpdk to account for= changes in the >RSS flags: > Thanks John, both myself and Panu had already caught this :) >$ git diff >diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c >index 1ba8310..90dd06f 100644 >--- a/lib/netdev-dpdk.c >+++ b/lib/netdev-dpdk.c >@@ -97,8 +97,7 @@ static const struct rte_eth_conf port_conf =3D { > .rx_adv_conf =3D { > .rss_conf =3D { > .rss_key =3D NULL, >- .rss_hf =3D ETH_RSS_IPV4_TCP | ETH_RSS_IPV4 | ETH_RSS_IPV6 >- | ETH_RSS_IPV4_UDP | ETH_RSS_IPV6_TCP | ETH_RSS_IPV6_= UDP, >+ .rss_hf =3D ETH_RSS_IP | ETH_RSS_UDP | ETH_RSS_TCP, > }, > }, > .txmode =3D { > >