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 D6C55A0543 for ; Tue, 14 Jun 2022 17:49:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CD9BC4281A; Tue, 14 Jun 2022 17:49:45 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 7B01A40DDD; Tue, 14 Jun 2022 17:49:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655221783; x=1686757783; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=fTIO9qOjlplikRHW/BgaPwpv5IIyhAPWWZ9xjymymHY=; b=jNqHNhcfEPSDwaGSG/hyDR5s1BoS6tac7uJIkp8mBOSlCtuwvM/rZVQq 1YoviKGxKjTOKzB02VLpp6WP5bVEaOcYthIlyqqJgGfD/OsAicnfDqm3w /uK2gfSPjT4e5ruXNs/cmYfNmOQrd4JnhICUNvye3pPjrcv8j2Wbe0534 khd7R6tR3whQ7/OvhkkWx014aOZDUlCwWYiJUyqK78cKay9FyreFTMgdo 1mIiPcjjsFxbQ8aNY7vNpcWLiZRNpRBiDMWqID20qdPKM40nbjmLS/8v8 hD1kMJ8Gx9W1bro5PWfvADv/fVzYf+21XKF8feiWmfweEjWM7VXUgiZ8d Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10378"; a="277444221" X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="277444221" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2022 08:49:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="640443312" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga008.fm.intel.com with ESMTP; 14 Jun 2022 08:49:42 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 14 Jun 2022 08:49:41 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Tue, 14 Jun 2022 08:49:41 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.48) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Tue, 14 Jun 2022 08:49:41 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZYyaplV2HRruy5YHMF/mYw5i0zePCXrMm7ZM0l8N2wbI7+WBFw3gYdPuVssd1z/VRyKPbrdYDn14Zz9Nv+ftXmk+tiouuoihHBHudqcKG1ZzWUi2k8Y6VbaSPkxHrghvw7/jv0o5dXaK/0mRZzJcwKaEct90OXWSkspMNXTsWuquYJz+559r9gGy+RSw7aYVTN9p5rMmuWGSLFxgjm2hvyvwAPV48+2ulVQCHGNctD47YyHJsnO7QYZTmxEA9Vuay91wqi+th2B1w5ncnXNVDj5PRNjj3AH4aCbRpLfOUO2/bKKMCQK4M6Yf71mTlXnssPOjLmXJ/KluIjoROwvlrA== 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=fTIO9qOjlplikRHW/BgaPwpv5IIyhAPWWZ9xjymymHY=; b=CG1XfDoau3WRmGOtA3s5e1e09Z8BMizNItAQJdlQLfPGpEP7AaaiK1Rh1bo/Uk8HUb0sIT2hdo3wTsGzhBJDFAt4R5uz+cWarG4OiWK/qA11BqnHnxiBppcT11mdHgjZufHA06gjjRvQllXmR5sFGrIiiOt7JZ2L6/SFrdXp+I2i7EjvwpSi9w1Htxj9Os4rVf9/891PY9rQa6qXmUJbOxk1+7rbewVfoflXiDTgGurU24/7d5FNGa/nhGYtNO0Yf2cGhHErqu+YONnfybz3581F26Wfr5wtmnZQKjKqX3DG6/t9dDdFcFa9S4o+lPSuZ2S9tebWptMs+Ef9zYrwFQ== 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 MW5PR11MB5809.namprd11.prod.outlook.com (2603:10b6:303:197::6) by BYAPR11MB2565.namprd11.prod.outlook.com (2603:10b6:a02:c9::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.12; Tue, 14 Jun 2022 15:49:39 +0000 Received: from MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::6537:6de6:7337:1b87]) by MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::6537:6de6:7337:1b87%6]) with mapi id 15.20.5332.017; Tue, 14 Jun 2022 15:49:39 +0000 From: "Zhang, Roy Fan" To: "Nicolau, Radu" , "Nicolau, Radu" , Akhil Goyal CC: "dev@dpdk.org" , "Buckley, Daniel M" , "Zhang, Qi Z" , "stable@dpdk.org" Subject: RE: [PATCH 2/3] examples/ipsec-secgw: fix NAT-T header fields Thread-Topic: [PATCH 2/3] examples/ipsec-secgw: fix NAT-T header fields Thread-Index: AQHYcD+4uTl27j/XR0+nph2d7/hW0K1PLCgA Date: Tue, 14 Jun 2022 15:49:38 +0000 Message-ID: References: <20220525135912.181765-1-radu.nicolau@intel.com> <20220525135912.181765-2-radu.nicolau@intel.com> In-Reply-To: <20220525135912.181765-2-radu.nicolau@intel.com> Accept-Language: zh-Hans-HK, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-reaction: no-action 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-office365-filtering-correlation-id: 60e896c5-63d3-4158-bfe0-08da4e1d7d51 x-ms-traffictypediagnostic: BYAPR11MB2565:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZLWEX+/9WPCeRmf4XHagnkjVYf/+L82ik5IzpbNs4L9HX+UrfOgQLryHBgEd9fV/w8pXnYapcc/wbQlcL1kqY+jOdBG4F0Z194nh1+p1JcRBCBr2TVONiMNXFvbIU8XEeYIAzjS4C7XdYHuzxqZXh4QupDhTjrJWXsh1N+Ie4x38s+RdeFvftymXy+v//hp55oWNvTYaOn71wM+kp6Hqrg5kGnHGihx0WWrleGGn7b1KcIqftNCiROwyql7ZAOUJxkfTHFKfQBpXNsQUnjcOVXu6tVE1L4GnvsrOkStWqKR1ahPeIoTvlK8cYw0TZYU8z7sHI7noe2WhWSEMiMIRV2kwLtcuZaS8edxUawcTM1raA/mQauXN+WHAJ576/iKcCN5bIqU7OoHs1tIvNABEhhlzrLUAejqFpTTnT8nAl0n63FfEWi6WGTpTCht3GOcpn1GTo5KlM68Icjr7oTa0cUCkxftc4tQgx13Hdt2cIMTir4zkd2xWBrnHt17qQ4u/HkiOt0oahi4NQ6OFIOF3f7KwexDJicvdjtsDndXT0kIx69X3SQU7mLxdfEP1FbWRoSNw/lyifMGQrOo4/4w0V7sKFwkNlDO8EL7hMQEwPueuPdwZ6nbYgkF42eWtJae9hH4DBUdn7YcmXiI5fhFDw65I4fOuWtNVhtfTXSheQQxBDvCpLUee0Tglj3DR6cXQeXSW4lVZhZ0sI08m9ClAyg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW5PR11MB5809.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(366004)(33656002)(55016003)(186003)(26005)(110136005)(4744005)(38070700005)(2906002)(83380400001)(71200400001)(54906003)(52536014)(6506007)(7696005)(4326008)(66446008)(66946007)(64756008)(86362001)(5660300002)(76116006)(66476007)(8676002)(66556008)(122000001)(8936002)(38100700002)(316002)(82960400001)(508600001)(53546011)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?NTthGCMzQvs8gDu9LzTJgIWYIq7eHBSvye6vfdofiBHhK06uCExcq6ey?= =?Windows-1252?Q?IIo1hFxzHdH5q+MHBK/lkiE0k4xDatOb70Waz6txCK0xLA5Lrd3xrjaD?= =?Windows-1252?Q?M9XAdIjUbhH652KtxyVvkZXusDAJ8fEgTTTKxsEKdry12AZU8Ub9256a?= =?Windows-1252?Q?baArTh4Acu1oaHJ2pNERsJHj3lRI155Tu757BkSG3YV3+3V3OMHWyHEg?= =?Windows-1252?Q?EjoyT9Ttsjen3EyQD8bUuoPj0L08oNmPphcv7DzZkOuzaSx9AWcrF7GY?= =?Windows-1252?Q?Qt0EXGz5XgQY9b8tIUwTLIRW/WE/5ePa/nRx80qC8+07y+VQeePd2W7e?= =?Windows-1252?Q?PwUzSHDSgQ+ekFyXEiusSimm745pSA8I7WSkfZ+fCQgXcvdWJyrd/RYj?= =?Windows-1252?Q?3xOGEuL19RqnMXou611EYCmH3gF5iYur9G4JoWCmE5mdw100of9P/CdK?= =?Windows-1252?Q?sxnBJTq0tR54PDqI73NXOM5oX6ue0lH+BMaNpmbIegN1WZx3csE5kNzL?= =?Windows-1252?Q?ITvnbzUUHQNuGheqf5OMmdUkMDT6QpoHdqYdfcvmf9NCxwHml0N8wska?= =?Windows-1252?Q?Qx4qHp+ZUiONTB3E0pbPaNvyPxmW45PISDgyKAAVftbBXy/dt9klL9Zn?= =?Windows-1252?Q?X0F7a51zj9WKM/tg2DDk1nuLDp7Gce1jTsT1Kz/G90GMLyFVgokPYOP1?= =?Windows-1252?Q?9rxI2DWTcwcPOI5cVkqpDA66/2OImjeLdaKqYGHwCAfX9JQmwPMUYTgO?= =?Windows-1252?Q?IY8SMc2IJKj+5qjjDQNoCSNR8YVxeHieHC1aR8PVGRSjdstgY41RhAT8?= =?Windows-1252?Q?pcHxJVVuApGuTzvwmiLC19RRLgmPklRBNGmUJ1s8biji9hSeMFOi8a19?= =?Windows-1252?Q?1ndQerdf0OB9RIZ//Gav6ECUkFUcIZ/hMaJ+rRGmqsfFejZ/ww+fzR8Z?= =?Windows-1252?Q?FqBt0fQ7kquDfqtiHhjcaBdaM5p2DQ+TVOy6gYjy+sdR1OPEhripn0HQ?= =?Windows-1252?Q?aXnTtC2WvW6CQE6i/pp/K4AWwkVPecD4NkB2AgEGBzLoFSxkd1cYIz06?= =?Windows-1252?Q?AI8jr4GdzSgQy2YzmjNpxy+G50FZNH1IYocwDrngDWpqYgPpp9cmsErI?= =?Windows-1252?Q?+kCpd9XWQgX/5aQdpCrA3jIPge9ZcDAOOxXV6xvqNy4u8dGzWhWfZMim?= =?Windows-1252?Q?+Get6RAOZUdV7m/71xROFkvm+BwRsDGqJBjAazSqST+N/j25WNr/lfg4?= =?Windows-1252?Q?rkZSwGQ/E87NQz6ZLtMyKNv4Acf69pvJ6onNYwO2ayepGuopfm7aI/0O?= =?Windows-1252?Q?vzvzZQISN9LDyeDQe2iONsMKglOAlH/rmMdf/LlWZebAAvju3VDlVjcS?= =?Windows-1252?Q?K6doKaedAF8Vj+/dpfUiyBIkBS1o7eRj7vPl0T0Bd6EBLVTV+nHLjgUM?= =?Windows-1252?Q?x69N4Fip93RymA5bS97J8NffgMDCRqoKgD7WF81HiR/7W9zyMSOmVWu8?= =?Windows-1252?Q?xJ6zM/wZX9oDfs7n75Z4LNxg17et4NDWqfvFJ99OzhSxeajwTl82RwM3?= =?Windows-1252?Q?zXTLXCGO1HAqsUvn4zIUDVvar3K3kvoorlJhyk2UInHLqgQPCrYh0BTT?= =?Windows-1252?Q?gPmvLPdQh4G1eCzuZUEVio2bkLAdcx4DaV5NwfpLsNqprpMEUYPO+xv2?= =?Windows-1252?Q?0T/Sw862uItjwuV12RrsnvJBggx/oEq8y6AV7m0bV4pJZVYgCVK+xw15?= =?Windows-1252?Q?a6iljFFoLkAt7EUIxU+b4KEx+8tKGmzC/osyghUwDnmqnL+2VUnppxWY?= =?Windows-1252?Q?YxiO3qLC9x22YvPFrOO54UL+Nhl5H/bl0kOKa8j2VitYJ4W+D54z8vvE?= =?Windows-1252?Q?HE7eZCRocWdWjw=3D=3D?= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW5PR11MB5809.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 60e896c5-63d3-4158-bfe0-08da4e1d7d51 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jun 2022 15:49:38.9405 (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: x7n6ZujBiG6spluMAkAvbNnvlnVPDwLDGITJLBDaAx+tvMNMMkSbHOzMGZD0KQJGzKTZxMUibDe3wQMqRsUz7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2565 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: Radu Nicolau > Sent: Wednesday, May 25, 2022 2:59 PM > To: Nicolau, Radu ; Akhil Goyal > Cc: dev@dpdk.org; Buckley, Daniel M ; Zhang, = Qi > Z ; stable@dpdk.org > Subject: [PATCH 2/3] examples/ipsec-secgw: fix NAT-T header fields >=20 > Use the proper IP protocol (UDP instead of ESP) and set the ports when > UDP encapsulation is enabled. >=20 > Fixes: 9ae86b4cfc77 ("examples/ipsec-secgw: support UDP encap for inline > crypto") > Cc: stable@dpdk.org >=20 > Signed-off-by: Radu Nicolau > --- Acked-by: Fan Zhang