From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D7FE4A0562; Fri, 3 Apr 2020 05:20:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4A84F1C05C; Fri, 3 Apr 2020 05:20:41 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 4B0C71C036 for ; Fri, 3 Apr 2020 05:20:40 +0200 (CEST) IronPort-SDR: H2V8M4Q9B3lWOqVU5r+xGYA5PhzWxYfMzjwoK2c2xIR5gabLYkdz8o6JKi/HAaRVX/uXzKNMWZ 9seKQlQ/mxGg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Apr 2020 20:20:39 -0700 IronPort-SDR: 84VYsRclkiycPpCb9f5HgHScKh8YRl1Akj4owFV3WksIBeWEpxgcCA0ScLtLI0eh0iGPM9m+oZ J/sf2xFZg5Xg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,338,1580803200"; d="scan'208";a="360402801" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga001.fm.intel.com with ESMTP; 02 Apr 2020 20:20:39 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 2 Apr 2020 20:20:39 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.146]) by shsmsx102.ccr.corp.intel.com ([169.254.2.138]) with mapi id 14.03.0439.000; Fri, 3 Apr 2020 11:20:36 +0800 From: "Zhang, Qi Z" To: "Zhao1, Wei" , "dev@dpdk.org" CC: "Lu, Nannan" , "Fu, Qi" , "Peng, Yuan" Thread-Topic: [PATCH v3 10/13] net/ice: add more flow support for permit stage Thread-Index: AQHWCWS/UNkt84vPu0GyTfQWwiDT4ahmup2g Date: Fri, 3 Apr 2020 03:20:35 +0000 Message-ID: <039ED4275CED7440929022BC67E70611547F275E@SHSMSX103.ccr.corp.intel.com> References: <20200402064620.47668-1-wei.zhao1@intel.com> <20200403024353.24681-1-wei.zhao1@intel.com> <20200403024353.24681-11-wei.zhao1@intel.com> In-Reply-To: <20200403024353.24681-11-wei.zhao1@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 10/13] net/ice: add more flow support for permit stage X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Zhao1, Wei > Sent: Friday, April 3, 2020 10:44 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Lu, Nannan ; > Fu, Qi ; Peng, Yuan ; Zhao1, Wei > > Subject: [PATCH v3 10/13] net/ice: add more flow support for permit stage >=20 > This patch add switch filter permit stage support for more flow pattern i= n pf > only pipeline mode. It should be "permission stage". >=20 > Signed-off-by: Wei Zhao > --- > drivers/net/ice/ice_switch_filter.c | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) >=20 > diff --git a/drivers/net/ice/ice_switch_filter.c > b/drivers/net/ice/ice_switch_filter.c > index 4248b8911..81d069e99 100644 > --- a/drivers/net/ice/ice_switch_filter.c > +++ b/drivers/net/ice/ice_switch_filter.c > @@ -200,6 +200,8 @@ ice_pattern_match_item > ice_switch_pattern_dist_os[] =3D { >=20 > static struct > ice_pattern_match_item ice_switch_pattern_perm[] =3D { > + {pattern_ethertype, > + ICE_SW_INSET_ETHER, ICE_INSET_NONE}, > {pattern_ethertype_vlan, > ICE_SW_INSET_MAC_VLAN, ICE_INSET_NONE}, > {pattern_eth_ipv4, > @@ -226,6 +228,18 @@ ice_pattern_match_item > ice_switch_pattern_perm[] =3D { > ICE_SW_INSET_PERM_TUNNEL_IPV4_UDP, ICE_INSET_NONE}, > {pattern_eth_ipv4_nvgre_eth_ipv4_tcp, > ICE_SW_INSET_PERM_TUNNEL_IPV4_TCP, ICE_INSET_NONE}, > + {pattern_eth_pppoed, > + ICE_SW_INSET_MAC_PPPOE, ICE_INSET_NONE}, > + {pattern_eth_vlan_pppoed, > + ICE_SW_INSET_MAC_PPPOE, ICE_INSET_NONE}, > + {pattern_eth_pppoes, > + ICE_SW_INSET_MAC_PPPOE, ICE_INSET_NONE}, > + {pattern_eth_vlan_pppoes, > + ICE_SW_INSET_MAC_PPPOE, ICE_INSET_NONE}, > + {pattern_eth_pppoes_proto, > + ICE_SW_INSET_MAC_PPPOE_PROTO, ICE_INSET_NONE}, > + {pattern_eth_vlan_pppoes_proto, > + ICE_SW_INSET_MAC_PPPOE_PROTO, ICE_INSET_NONE}, > {pattern_eth_ipv6_esp, > ICE_INSET_NONE, ICE_INSET_NONE}, > {pattern_eth_ipv6_udp_esp, > -- > 2.19.1