[dpdk-dev] [PATCH] net/tap: fix some flow collision
Ferruh Yigit
ferruh.yigit at intel.com
Fri May 26 11:13:59 CEST 2017
On 5/22/2017 12:19 PM, Pascal Mazon wrote:
> The following two flow rules (testpmd syntax) should not collide:
> flow create 0 priority 1 ingress pattern eth / ipv4 / end actions drop / end
> flow create 0 priority 1 ingress pattern eth / ipv6 / end actions drop / end
>
> But the eth_type in the associated TC rule was set to either "ip" or "ipv6".
> For TC, they could thus not have the same priority.
>
> Use ETH_P_ALL only in the TC message to make sure those rules can coexist.
>
> Fixes: de96fe68ae95 ("net/tap: add basic flow API patterns and actions")
Cc: stable at dpdk.org
>
> Signed-off-by: Pascal Mazon <pascal.mazon at 6wind.com>
Applied to dpdk-next-net/master, thanks.
More information about the dev
mailing list