[dpdk-dev] [PATCH] net/i40e: fix tunnel filter issue

Ferruh Yigit ferruh.yigit at intel.com
Tue Feb 7 15:11:15 CET 2017


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 <beilei.xing at intel.com>

<...>

> +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. */
> +};
> +
<...>



More information about the dev mailing list