[dpdk-dev] [PATCH 4/4] net/i40e: refine consistent tunnel filter
    Ferruh Yigit 
    ferruh.yigit at intel.com
       
    Wed Mar  8 16:50:33 CET 2017
    
    
  
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 <beilei.xing at intel.com>
<...>
>  /**
> + * 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?
<...>
    
    
More information about the dev
mailing list