From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id D5B23FAC3; Thu, 9 Feb 2017 18:58:08 +0100 (CET) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP; 09 Feb 2017 09:58:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,137,1484035200"; d="scan'208";a="63179275" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.137]) ([10.237.220.137]) by fmsmga005.fm.intel.com with ESMTP; 09 Feb 2017 09:58:06 -0800 To: "John Daley (johndale)" References: <20170203095446.4614-1-johndale@cisco.com> <20170209004009.26242-1-johndale@cisco.com> <20170209004009.26242-2-johndale@cisco.com> <9bb15b91-a7a1-1bb7-478b-6b225b64b84d@intel.com> Cc: "dev@dpdk.org" , "stable@dpdk.org" From: Ferruh Yigit Message-ID: Date: Thu, 9 Feb 2017 17:58:05 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH v2] net/enic: fix hardcoding of some flow director masks X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2017 17:58:09 -0000 On 2/9/2017 5:43 PM, John Daley (johndale) wrote: > > >> -----Original Message----- >> From: Ferruh Yigit [mailto:ferruh.yigit@intel.com] >> Sent: Thursday, February 09, 2017 2:16 AM >> To: John Daley (johndale) >> Cc: dev@dpdk.org; stable@dpdk.org >> Subject: Re: [PATCH v2] net/enic: fix hardcoding of some flow director masks >> >> On 2/9/2017 12:40 AM, John Daley wrote: >>> Hard coded mask values were being used for several of the IPv4 and >>> IPv6 fields. Use the values in the rte_eth_fdir_masks structure >>> provided by the caller. >>> >>> Fixes: dfbd6a9cb504 ("net/enic: extend flow director support for 1300 >>> series") >>> >>> Cc: stable@dpdk.org >>> Signed-off-by: John Daley >>> --- >>> >>> v2: fix compile error >> >> I wasn't getting an error for this. >> >> V2 adds: >> >> - ipv6_val.vtc_flow = input->flow.ipv6_flow.tc << 16; >> + ipv6_val.vtc_flow = input->flow.ipv6_flow.tc << 12; >> >> What is the compile error this fixes? > > This patch had the compile error: > http://www.dpdk.org/dev/patchwork/patch/20147/ > + ipv6_mask.vtc_flow = masks->ipv6_mask.tc << 16); I see, perhaps (don't remember) I fixed this while applying, because next-net was compiling fine.