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 AC7BAA0567; Fri, 13 Mar 2020 17:14:29 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7D20D1BF97; Fri, 13 Mar 2020 17:14:29 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 74F7F2BE3; Fri, 13 Mar 2020 17:14:27 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Mar 2020 09:14:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,549,1574150400"; d="scan'208";a="278277759" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by fmsmga002.fm.intel.com with ESMTP; 13 Mar 2020 09:14:25 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX104.amr.corp.intel.com (10.22.225.131) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 13 Mar 2020 09:14:24 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 13 Mar 2020 09:14:24 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 13 Mar 2020 09:14:24 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 13 Mar 2020 09:14:19 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XytVHvxJ6CuPR3SiEaZurgmh0VV55BvCE5FRwMNFeeZUU8Ocp4MkVincXJz1+7gatepIiApWQGGqeLWITaNbgng+m1w1Qy4Ez2hr7zl3Q3QoXjx7I3G7bPj97kVof9Dq6ID154YQxKXDMDGuu6rmJJ7jM875Cob0gt3EYNuMLrmIBQeJcl0l9twhj5KyPKjfwL6dDx95dWoX8NeDhFXCX7BoOJ66dSovThOLc3o+xR/xt6TmYjNJSdk3kqtuJyaiXi4rJK9TqWsTxgQSb63ZsxzVUY6uke+fDfHRBGggtK1jC+mZnpzQyOKnmBk3w4F1c35eAfqIka0pW9Dhq+TzPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IcFc4TTuPTKStHlRkawU+vCm3KmNBEl4iVb7cWT3e3A=; b=QgnG82KCZKdv7gmay9YO6Ew2wfYBmB0mY3sG/m83QqyqPQ/JsdlnzremZZT5I7Um7g8wPAs23ocDp2dMvWw9l8Iw5bPxbyYGTwx/lm+DQkqyl+90SCcSmoPQPg33OcqoXkLJ3mWxlat9UuXbExKa+wzUFW9SVotlAz4acH3vVKwLs8tRJvsp4tVGDK3wne8vhF26b0qd/7/t8hj46pY816Bcr5AkMsuuaPfJzrwpHl3ddBIUTgVj/+rNfZxHNOgtOZHiaWyE65ZOUZfRf9KLpznZESG1xOyL4ZORVwCINOHqwTXZZ8k7TUF62JFr7UTEbZSt9ADbSQ0RvQKtuY90xA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IcFc4TTuPTKStHlRkawU+vCm3KmNBEl4iVb7cWT3e3A=; b=CT8H6emePuAG+8WKSsjOY+huy0LBAxLpyD2/A6wBDYYhbUXoFwSuu9TENPw40DMieKbri+ikwMYtfSHRrbee9zUgdwaVGGc6M51gRvuOphkfzUgMkzMSVRR9hL0EBjA9Daut9/pNdS+lqbMmst+n8/V9jZ05DhzkpyLiHn/8QOI= Received: from MW3PR11MB4538.namprd11.prod.outlook.com (2603:10b6:303:57::12) by MW3PR11MB4617.namprd11.prod.outlook.com (2603:10b6:303:59::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.17; Fri, 13 Mar 2020 16:14:12 +0000 Received: from MW3PR11MB4538.namprd11.prod.outlook.com ([fe80::d94d:d13e:f47a:29f8]) by MW3PR11MB4538.namprd11.prod.outlook.com ([fe80::d94d:d13e:f47a:29f8%3]) with mapi id 15.20.2793.018; Fri, 13 Mar 2020 16:14:12 +0000 From: "Stillwell Jr, Paul M" To: "wei.zhao1@intel.com" <"Wei Zhao"@dpdk.org>, "dev@dpdk.org" CC: "Zhang, Qi Z" , "Ye, Xiaolong" , "stable@dpdk.org" , "Zhao1, Wei" Thread-Topic: [dpdk-dev] [PATCH 5/7] net/ice: change default tunnle type Thread-Index: AQHV+NZmjn4CGfKCa0yytknswBAUAKhGswYA Date: Fri, 13 Mar 2020 16:14:12 +0000 Message-ID: References: <20200313010407.18286-1-wei.zhao1@intel.com> <20200313010407.18286-6-wei.zhao1@intel.com> In-Reply-To: <20200313010407.18286-6-wei.zhao1@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: spf=none (sender IP is ) smtp.mailfrom=paul.m.stillwell.jr@intel.com; x-originating-ip: [192.55.52.218] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e034808e-2f80-4f36-64c8-08d7c769917c x-ms-traffictypediagnostic: MW3PR11MB4617: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4714; x-forefront-prvs: 034119E4F6 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(39860400002)(136003)(396003)(346002)(376002)(199004)(81156014)(86362001)(81166006)(33656002)(8936002)(8676002)(186003)(7696005)(54906003)(110136005)(316002)(107886003)(64756008)(2906002)(26005)(6506007)(71200400001)(53546011)(478600001)(4326008)(66476007)(450100002)(9686003)(55016002)(76116006)(52536014)(66446008)(66556008)(5660300002)(66946007)(2621003); DIR:OUT; SFP:1102; SCL:1; SRVR:MW3PR11MB4617; H:MW3PR11MB4538.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QU1L5EfKtYpZsiQRFR/8HS4c5/stNUiGomQ6LFmPdggGMmzYT/nfu7j26K+ulk8ClCKOk53ZIdV/g2I70uiYtCMZnD2pVQY29wCKBrHOF3hLbJHpG5W/mPmBOedBrKvO3cwoX+x7svTor0/CkN525RBxPMRQR1S2rERqwC9J7SxYAJZ1kZggtrnuSwwVsNzjQxgOBwaoMNvKZWL90uF/XpkCBBbQBVuGX7hyYZ3wtg0i0Jlr47EhNUqf4iovqSpJ3a6HaMhJ5vm56m0E/NcalFy+w+9excLL73qwUZujsi9GQ5VnSI+ovJdwaK6eeib95CJKN9+JevSjcU1si6dVBk318yExKRYukNIopneMMxbM+ZqekIw5fzb9B1mT95oDAOZmUNRwpUDStjHjZ0XbcqPl1hp2Im/TPgJjsjWR6J2S2l+/RrSkj26Vu5BN/BhqZjniWH8bA++9pZRHMksQwOcF5KMRdKQhjDn+F3zRJMU= x-ms-exchange-antispam-messagedata: 1SudqdqeNr39WywrK8fN2Cewq5ZaEJLx6qC9prUN7ywqrL8xaUfSoi65u7cfUaZODmArZD1w/y/9lqt8TuKKCajrNywHGMKMrrfn+uoYP4gK0acUmXZB9rJ/dCndKnqzkPckHGS60MXRcHT1iggP0A== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: e034808e-2f80-4f36-64c8-08d7c769917c X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2020 16:14:12.1511 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nplZF14O4dSsd0/cbXBvxBI7o1CrRHTQsrVxVfFUPX1nrCMtsvkBuyBZ6FFHq1eH4sUjIEig38V2xPtMeVsp+jjW3sh3IKXKLoBwQByVcpM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4617 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 5/7] net/ice: change default tunnle type 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: dev On Behalf Of wei.zhao1@intel.com > Sent: Thursday, March 12, 2020 6:04 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Ye, Xiaolong > ; stable@dpdk.org; Zhao1, Wei > > Subject: [dpdk-dev] [PATCH 5/7] net/ice: change default tunnle type >=20 > The default tunnle type for swicth filter change to new defination of s/tunnle/tunnel > ICE_SW_TUN_AND_NON_TUN in order that the rule will be apply to more > packet type. >=20 > Cc: stable@dpdk.org > Fixes: 47d460d63233 ("net/ice: rework switch filter") >=20 > Signed-off-by: Wei Zhao > --- > drivers/net/ice/ice_switch_filter.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/net/ice/ice_switch_filter.c > b/drivers/net/ice/ice_switch_filter.c > index 20d0577b5..7ca922602 100644 > --- a/drivers/net/ice/ice_switch_filter.c > +++ b/drivers/net/ice/ice_switch_filter.c > @@ -1097,7 +1097,8 @@ ice_switch_parse_pattern_action(struct > ice_adapter *ad, > uint16_t lkups_num =3D 0; > const struct rte_flow_item *item =3D pattern; > uint16_t item_num =3D 0; > - enum ice_sw_tunnel_type tun_type =3D ICE_NON_TUN; > + enum ice_sw_tunnel_type tun_type =3D > + ICE_SW_TUN_AND_NON_TUN; > struct ice_pattern_match_item *pattern_match_item =3D NULL; >=20 > for (; item->type !=3D RTE_FLOW_ITEM_TYPE_END; item++) { > -- > 2.19.1