From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/tap: fix some flow collision Date: Fri, 26 May 2017 10:13:59 +0100 Message-ID: <6c618cb0-57b0-f39d-5428-9b5c4d19a17d@intel.com> References: <398d6c2d628f8239bdf5726236f72990dbbcde3b.1495444748.git.pascal.mazon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Pascal Mazon , dev@dpdk.org Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id B00899B77 for ; Fri, 26 May 2017 11:14:02 +0200 (CEST) In-Reply-To: <398d6c2d628f8239bdf5726236f72990dbbcde3b.1495444748.git.pascal.mazon@6wind.com> Content-Language: en-US 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 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@dpdk.org > > Signed-off-by: Pascal Mazon Applied to dpdk-next-net/master, thanks.