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