From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 06453A0560 for ; Tue, 18 Oct 2022 08:47:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F03F64021D; Tue, 18 Oct 2022 08:47:16 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 7CBA540143; Tue, 18 Oct 2022 08:47:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666075635; x=1697611635; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=XsPOXqZ8JEVBZagET66IHfJ9rVOKBogil2TbdSz2tSw=; b=VsmYts7Gr4kRoDCfRortUro4YB8OO6dl7hqBEsRGsgqmNuoqBMNkGnai igvYOixbfx68Rfr7RwBxDyD551YlQgGyW9mowwghLqJyAJMfEVOgc6nA8 OlzyoWGaFKtYOr3xAFM447LllX5bQXSbx487h/40JbbSbfewoZ+CeG8CF PbYCbxyjM6EVFGf9dy9VOHJYT5JGifVDmWLwHFdiT2gcvGsL9ri3XLWoO 6F56XxkEP2SvP8BKTKKz7fNZ0ontktcnbiqsrbrNwjl3LxzOoXV627Ewy wPhXgKNukjzsPg1Wi+iNsx267w0rH2bQ7U1Y58RGr8IWuOs1lhO5aBVQN g==; X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="368044652" X-IronPort-AV: E=Sophos;i="5.95,193,1661842800"; d="scan'208";a="368044652" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2022 23:47:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="771067924" X-IronPort-AV: E=Sophos;i="5.95,193,1661842800"; d="scan'208";a="771067924" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga001.fm.intel.com with ESMTP; 17 Oct 2022 23:47:14 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 17 Oct 2022 23:47:14 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Mon, 17 Oct 2022 23:47:14 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.103) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Mon, 17 Oct 2022 23:47:13 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nnYDn/ENyOMIN7oOr3sCbLep2uIvJdcEOD0whqpPLHMXzULzlYZxaKoqpHtjxax5Gy7ObVlSokAPeFrzcY/Yg5jirloYgnOVHfZhSXLpYmggG7nX6ZLbNuu12S9ezSYgSalGEfUTa8M8S2z8qihZQSZOvxL+jhnpfXJcrkJjni3DyaJa0H/1NhyOWV5eXdzeFvtO0zeOJy13iPxKr2tCSIwMUr8J9t+TVJU1H4p+x5HHuBgEAmsAYnYk194OjImdGUgC9euqqT3E6H8H6OGP6iWsu90Qya5PX5ehIXrawBnv+HtQ2qsnPR+9LoNBHac1WY8NT4qzhYhQ5DJKH96j8A== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FEqHSt2V/rRU5HVm+P/e1qQhXEW9z8EwVpDgvtB7BX8=; b=NnNqqrKcvdz06whP95Zx7YcTAKSS7URBY0Nk7Y0zP+vxiOPsbOwmduKsB2i+yvJvN0ttvOF4UBOc0tC/i/56r6CMO+iFgFipdTibnUvj8P5dnzy9H6NSrMzOM9VOSYoexXqpUeYVHAcqmtISmtOMdFh+plmJWy250WppGzPncD1xyu2wKFCTMm7hgkF0YZCBz/BcwODUFwmSzdjMWxG6MuWrxE8wULSj6IA7CdJZJFBS9tykRon0Q13kYagjecW87MO7tBYAOYItBl7m2MckYISalF3gjTQqmpnPd1B89o06GVBHgjAmxl7Vu/yH1DWOA3E6ASyUNDu8etb8V31dHQ== 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 Received: from DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by SJ0PR11MB6574.namprd11.prod.outlook.com (2603:10b6:a03:44e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.33; Tue, 18 Oct 2022 06:47:10 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::6fc4:1ff0:a5db:6546]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::6fc4:1ff0:a5db:6546%3]) with mapi id 15.20.5723.033; Tue, 18 Oct 2022 06:47:09 +0000 From: "Zhang, Qi Z" To: "Ye, MingjinX" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Zhou, YidingX" , "Yang, Qiming" , "Andrew Rybchenko" , "Matz, Olivier" , Somnath Kotur , "Ajit Khaparde" Subject: RE: [PATCH] net/ice: support vxlan gpe tunnel offload Thread-Topic: [PATCH] net/ice: support vxlan gpe tunnel offload Thread-Index: AQHY4pK7k9FtEoE6/0+CTnK8sCqzSK4TtM0w Date: Tue, 18 Oct 2022 06:47:09 +0000 Message-ID: References: <20221018092842.509634-1-mingjinx.ye@intel.com> In-Reply-To: <20221018092842.509634-1-mingjinx.ye@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.500.17 dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR11MB5994:EE_|SJ0PR11MB6574:EE_ x-ms-office365-filtering-correlation-id: f71aec9f-3ac7-4cdc-fe05-08dab0d4945e x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VTjnQhJ4dHWZQHmbjDKN5BAVBrhmAVbqoSwLL77H34+vj/hE1f37E8yKWGphsvMnQTTYb43TdvbvVP2YvdNQkrrOPk8yb1lS+qt3sdtfpTbgz/xDYLkL/tDY92f0WwF1Ip4JXfse7Ma9z7qHygPWBKUyqt0dv+/HfZnrYIHd6XwY9gZzs90gsGgywvurRtUczTZx9R1cQDf+rZtKcyTvKBgKtz5wZd7XeXmHzVTp35F8c6DOuJbYG1kkoaUoL1IXxmtz5mIysQroNjEWWiOLuh3X2PTX/t7O3tUNLEwAEmZmwwJ0ej8dxfr5EVMlson7kVV3vmD+vHSzmRN9ANchyXGR5Jqp9R0GhlRESpi4h3j7JcipJkdVaf00EWlo73oVED3KNygRvGz89xGa66lAsMSnrnhIxj1q1lwh08Qzvkiqi+cjp3Md7JZvvvUSsgqewIxQWdoZGvVI8xeAhZho/vruMVoMMY4fjWtlOvT8PuzzNxpLzzcb4msJ+O7okIeNj1OeFp1blaC9w2CsL3v9+svRqN2npweGP9FBo4QKELOxt228Dxr+fLnQ6P3Vl6lw+5FXfzoE1nW7Rg/aJ/By2gqeQ/6z/RQSTfdgwRqc8FXd60a4QYdvxLkaxZ9BLRME5M44bucWgM+jlXCCoFw9d6gOf0fln0d+CysvWvI58Hrrh6s/2DSrpX4l3UuJfM0Ziy+/4uRj4tEpZQBxTbYtOOwHRb1bDyZk+3x2H2lNIEueaBV9A62uWzUyhQ8cjCPoiSAyS0oi1Hp0C/yLmsMBuA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(346002)(136003)(39860400002)(376002)(366004)(451199015)(53546011)(6506007)(478600001)(7696005)(26005)(9686003)(186003)(33656002)(2906002)(83380400001)(55016003)(71200400001)(86362001)(54906003)(316002)(110136005)(122000001)(52536014)(5660300002)(38100700002)(82960400001)(8936002)(76116006)(66946007)(38070700005)(8676002)(4326008)(66556008)(66476007)(66446008)(64756008)(41300700001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?4vDRVlHl/b9bXMuTYOc6VFGLy0FCJnZWXZkWcMMM8ceEuDS5G9DG59MZNOL9?= =?us-ascii?Q?V7IlEJfaVvsPngA70aiSuxFpGfLRmUXjpMvK7InR/d4DjQ6OCHiwygBh3ngB?= =?us-ascii?Q?89QmXkpuBziRzir14MDIK0jD1L22q9wwdpsYC29GdwKaGjJjXkvjmbjFyDB6?= =?us-ascii?Q?YweHF2Sz1j5iP76gq0dHiCyRh9hyHKFWVXtOLjBJW3Z+iB/ckHJLYIi3JZFL?= =?us-ascii?Q?HyBaZA40BQsVIz+fwYoqeLaAa522KWx4SC+aFqkCBPDQIEpCZgkhWs2t+s/j?= =?us-ascii?Q?6QIZ00X6ExxqpJ67FrzeReGJu+WYTc8B8JPDMFkRnDM6OEOV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FHjVfKK+bYSol3zGW/PoiqtR1b0RNws0iPW?= =?us-ascii?Q?nm90P/X+TN81ueb1BKLnuKdXLY0JA1ciQBR1pbaTpYB4KVbbflXSwsIddNAl?= =?us-ascii?Q?QYg4bOxJYOpsPbn3ayjzxfC15s6B99NeS01Cp5hYDLvgyE7YofzvfX3VWY+o?= =?us-ascii?Q?EuVp/WtBAefKhxArUpvHIN/b+v5NJPsvvjCQ9YDPdcQc0v0tf20nXNZuN82b?= =?us-ascii?Q?r/mHn57QQQaPHZDNK0eCzCe6iAV5X2OjdRWzwQnNSRgHGz0kEIOIUPh7/SuB?= =?us-ascii?Q?AUvBVF/IAIyb2mKziM1TNC/voXZPJBC6xQVg2DIdvgGfB7t+ELmUYn3ctmqV?= =?us-ascii?Q?8QMyidg7WZwhKG/nNxDPqMGin4KATTghrGuiRchH?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f71aec9f-3ac7-4cdc-fe05-08dab0d4945e X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2022 06:47:09.4530 (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: hxrrAXI3YI7i1KYFSnQi/zk0O4qLHVeabWlKTujl7JW4bl98XQnfY6FIxKoQhDUzIszahDwaVgf6NW02OdymPw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB6574 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Ye, MingjinX > Sent: Tuesday, October 18, 2022 5:29 PM > To: dev@dpdk.org > Cc: stable@dpdk.org; Zhou, YidingX ; Ye, MingjinX > ; Yang, Qiming ; Zhang, Qi > Z ; Andrew Rybchenko > ; Matz, Olivier > ; Somnath Kotur > ; Ajit Khaparde > > Subject: [PATCH] net/ice: support vxlan gpe tunnel offload >=20 > PMD does not support VXLAN_GPE tunnel offloading, therefore, it will caus= e > the tx queues overflow and stop working when sending such packets. >=20 > This patch adds support for the vxlan gpe. >=20 Is that an issue on the Tx descriptor if ICE_TXD_CTX_UDP_TUNNELING is not c= onfigured with a VxLAN GPE packet? Better to describe the reproduce scenario a little bit here > Fixes: daa02b5cddbb ("mbuf: add namespace to offload flags") > Cc: stable@dpdk.org >=20 > Signed-off-by: Mingjin Ye > --- > drivers/net/ice/ice_rxtx.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c inde= x > 697251c603..0a2b0376ac 100644 > --- a/drivers/net/ice/ice_rxtx.c > +++ b/drivers/net/ice/ice_rxtx.c > @@ -2690,6 +2690,7 @@ ice_parse_tunneling_params(uint64_t ol_flags, > /* for non UDP / GRE tunneling, set to 00b */ > break; > case RTE_MBUF_F_TX_TUNNEL_VXLAN: > + case RTE_MBUF_F_TX_TUNNEL_VXLAN_GPE: > case RTE_MBUF_F_TX_TUNNEL_GTP: > case RTE_MBUF_F_TX_TUNNEL_GENEVE: > *cd_tunneling |=3D ICE_TXD_CTX_UDP_TUNNELING; > -- > 2.34.1