From: Ferruh Yigit Subject: Re: [PATCH] net/i40e: fix tunnel filter issue Date: Tue, 7 Feb 2017 14:11:15 +0000 Message-ID: <068de103-393e-7192-c230-e912494d96a2@intel.com> References: <1486371167-36839-1-git-send-email-beilei.xing@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org To: Beilei Xing , jingjing.wu@intel.com Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 734EC376C for ; Tue, 7 Feb 2017 15:11:18 +0100 (CET) In-Reply-To: <1486371167-36839-1-git-send-email-beilei.xing@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 2/6/2017 8:52 AM, Beilei Xing wrote: > Creating IPv4 flow and IPv6 flow will cause confilct error. > Root cause is there's no IP info included in tunnel filter > input. > > Fixes: 425c3325f0b0 ("net/i40e: store tunnel filter") > Fixes: d416530e6358 ("net/i40e: parse tunnel filter") > > Signed-off-by: Beilei Xing <...> > +enum i40e_tunnel_iptype { > + I40E_TUNNEL_IPTYPE_IPV4 = 0, /* IPv4. */ No need to assign the value, it will be already zero. And comments are not adding something new. Since these are minor issues, I can update while applying. > + I40E_TUNNEL_IPTYPE_IPV6, /* IPv6. */ > +}; > + <...>