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 9BF38A0520; Mon, 20 Jan 2020 06:08:17 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 68C8E2BBB; Mon, 20 Jan 2020 06:08:16 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id BBFDC1DBA; Mon, 20 Jan 2020 06:08:14 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Jan 2020 21:08:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,340,1574150400"; d="scan'208";a="244303203" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga002.jf.intel.com with ESMTP; 19 Jan 2020 21:08:13 -0800 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Jan 2020 21:08:13 -0800 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Jan 2020 21:08:12 -0800 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.28]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.210]) with mapi id 14.03.0439.000; Mon, 20 Jan 2020 13:08:11 +0800 From: "Zhang, Qi Z" To: "Cao, Yahui" , "Xing, Beilei" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/ice: fix wrong GTP-U fdir profile Thread-Index: AQHVzP3IW5rfq2ZZ2kaAZ3Qc4E0U66fzBMpw Date: Mon, 20 Jan 2020 05:08:10 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153E08EBA@SHSMSX105.ccr.corp.intel.com> References: <20200117062033.12298-1-qi.z.zhang@intel.com> In-Reply-To: <20200117062033.12298-1-qi.z.zhang@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] net/ice: fix wrong GTP-U fdir profile 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: Zhang, Qi Z > Sent: Friday, January 17, 2020 2:21 PM > To: Cao, Yahui ; Xing, Beilei > Cc: dev@dpdk.org; Zhang, Qi Z ; stable@dpdk.org > Subject: [PATCH] net/ice: fix wrong GTP-U fdir profile >=20 > A GTP-U fdir profile should be regarded as a tunnel type, or the profile > target to inner IPv4 will also cover inner IPv6 packet type due to some s= ide > effect. >=20 > Fixes: efc16c621415 ("net/ice: support flow director GTPU tunnel") > Cc: stable@dpdk.org >=20 > Signed-off-by: Qi Zhang Nacked-by: Qi Zhang https://patches.dpdk.org/patch/64903/ should be the prefer fix. > --- > drivers/net/ice/ice_fdir_filter.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/net/ice/ice_fdir_filter.c > b/drivers/net/ice/ice_fdir_filter.c > index fa8707455..4c5ddfbdb 100644 > --- a/drivers/net/ice/ice_fdir_filter.c > +++ b/drivers/net/ice/ice_fdir_filter.c > @@ -987,6 +987,7 @@ ice_fdir_input_set_conf(struct ice_pf *pf, enum > ice_fltr_ptype flow, > ICE_FLOW_SET_HDRS(seg, ICE_FLOW_SEG_HDR_GTPU_EH | > ICE_FLOW_SEG_HDR_GTPU_IP | > ICE_FLOW_SEG_HDR_IPV4); > + is_tunnel =3D true; > break; > default: > PMD_DRV_LOG(ERR, "not supported filter type."); > -- > 2.13.6