From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH 4/4] net/i40e: refine consistent tunnel filter Date: Wed, 8 Mar 2017 15:50:33 +0000 Message-ID: References: <1488533497-27682-1-git-send-email-beilei.xing@intel.com> <1488533497-27682-5-git-send-email-beilei.xing@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: helin.zhang@intel.com, dev@dpdk.org To: Beilei Xing , jingjing.wu@intel.com Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 77086BD28 for ; Wed, 8 Mar 2017 16:50:36 +0100 (CET) In-Reply-To: <1488533497-27682-5-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 3/3/2017 9:31 AM, Beilei Xing wrote: > Add i40e_tunnel_type enumeration type to refine consistent > tunnel filter, it will be esay to add new tunnel type for s/esay/easy > i40e. > > Signed-off-by: Beilei Xing <...> > /** > + * Tunnel type. > + */ > +enum i40e_tunnel_type { > + I40E_TUNNEL_TYPE_NONE = 0, > + I40E_TUNNEL_TYPE_VXLAN, > + I40E_TUNNEL_TYPE_GENEVE, > + I40E_TUNNEL_TYPE_TEREDO, > + I40E_TUNNEL_TYPE_NVGRE, > + I40E_TUNNEL_TYPE_IP_IN_GRE, > + I40E_L2_TUNNEL_TYPE_E_TAG, > + I40E_TUNNEL_TYPE_MAX, > +}; Same question here, there is already "rte_eth_tunnel_type", why driver is duplicating the structure? <...>