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 57C3CA0542 for ; Tue, 14 Jun 2022 17:50:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 51A6740DDD; Tue, 14 Jun 2022 17:50:46 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 6EBE240DDD for ; Tue, 14 Jun 2022 17:50:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655221844; x=1686757844; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=hhCC5WZNjB3UWqIuEfXQXbzp6I7KBc0Pf5+IBHZfEmw=; b=SwI7V1UtrkgwsSkdzX59jcGBTJ21+8fsmZJ7BlqMlv7PCQnWJPEGpjqU mMCenHSUReaJrlTupQA6uI7lkL1eGKPSO+vGQTc5HMsldwO32sjG4/b7H vQ7SnbdK5GivvXvpH7pCRg7dERknpAOMdmhwzBlp3reII0T2LX9Sy1iB/ 7G4rRRhc/SQRqpDCVB80J9KJXz1BzCt0fe6mkk2uznlkJ4hed/ob2LDCB lkawzh8ak03Nol6IJTbZ7/74uTwkJ2SEXu/YiHVl9/EipZmpZxZzCR50U BGPwlNy8BSTCvrA7/hxDIA6maYYzESbFJkALKHM9fpPhGFfzXrOXi7FNo A==; X-IronPort-AV: E=McAfee;i="6400,9594,10378"; a="364999721" X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="364999721" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2022 08:50:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="652112573" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga004.fm.intel.com with ESMTP; 14 Jun 2022 08:50:43 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx603.amr.corp.intel.com (10.18.126.83) 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:50:43 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx609.amr.corp.intel.com (10.18.126.89) 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:50:42 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx606.amr.corp.intel.com (10.18.126.86) 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:50:42 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.108) by edgegateway.intel.com (192.55.55.70) 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:50:42 -0700 Received: from MW5PR11MB5809.namprd11.prod.outlook.com (2603:10b6:303:197::6) by SA0PR11MB4688.namprd11.prod.outlook.com (2603:10b6:806:72::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.13; Tue, 14 Jun 2022 15:50:34 +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:50:34 +0000 From: "Zhang, Roy Fan" To: "Nicolau, Radu" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" , "Buckley, Daniel M" , "Zhang, Qi Z" , "Nicolau, Radu" , "stable@dpdk.org" Subject: RE: [PATCH 3/3] net/iavf: fix NAT-T payload length Thread-Topic: [PATCH 3/3] net/iavf: fix NAT-T payload length Thread-Index: AQHYcD/w9njMgVRg8k6ngJnMKUkH/K1PLGxg Date: Tue, 14 Jun 2022 15:50:34 +0000 Message-ID: References: <20220525135912.181765-1-radu.nicolau@intel.com> <20220525135912.181765-3-radu.nicolau@intel.com> In-Reply-To: <20220525135912.181765-3-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: 1eb5f8f2-69ef-4c6e-d8f0-08da4e1d9e6d x-ms-traffictypediagnostic: SA0PR11MB4688: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: vbgHf0Gz39R4tn+X7vpcZo7AeITzovLhJKzRzLet8s4BUJYkejs1SOFs8sSipMjht/2ZSMMifgkOFxrvMu60YuB04NE1GNPEwP9cFd+MxRB+Z+awLmd3kSGKQ0gkO/xhZExJD6XWmyXGwP+CBM1qaKWRm8+7s3qTZwaO1nKq8ord8c6dnk9YlUqOdJ+JWPd8GPrLc+OSgA6eGb6kcfdsKHte1R5YWiXFPPjFYA+QzAGR7nWzcDKNVgMMCCivTOmy2tf8nwK0R/kxTf2xItmxtyhaY53kq7b5tGwNIFrscBF8lJ1wStL4+xvMlJ3D+eLgYEoOZ8Izt98FTVXKZrg3scBK2aknMldFl3EPKyf4/y/OP47kF4h8pBdMhmMtEsr7IKzhd02D75dU1gd2BGU6xidKmnO3hcB2iD1LC0S6FdIdAMrI2kh2Fqqx5arhiEtysrAWlQJOcPY9h3JB9Z3HxAknVGnUZHlPQym9O7NQxvVcTzTmdRhkx/pJqjUl2ScpppWEXVBw93yV0UQUV6Jm/vP0dH5jyuYBO3nXVbVtOo2o/A9Hdse7Muo1gO+NPeJguY+ndUTuRcfrRGHxeccY9XNLzCqsBSLtfe3IA1u5nOmGgjx1cT9yTHVMuoQmCF2uy7k/v2D2HdgOHTf3ZUa7IDAKL+HvCat5NVTacl072Vrv+bvJRwOcHHIQjzHFrFyuPANgCuGce8j9wJNXEHNzXg== 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)(38070700005)(186003)(53546011)(6506007)(66556008)(7696005)(4744005)(5660300002)(66476007)(26005)(9686003)(2906002)(83380400001)(71200400001)(316002)(33656002)(66446008)(52536014)(55016003)(508600001)(110136005)(82960400001)(6636002)(122000001)(54906003)(8936002)(4326008)(86362001)(64756008)(66946007)(450100002)(76116006)(8676002)(38100700002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?Usghjn/2MjlQdPQUgCWWXCAR+Gx36jGzZIhj4/vusiwX51KdbaGQlabl?= =?Windows-1252?Q?P/wwcmlrAMVL3Wiyz/Um1JGwMLbSnCwShfErF9lF1V6tPIsMkBsmKiLT?= =?Windows-1252?Q?IE5yRZb3g1tza49wu5fMdkjuP4Ps5/LIOSUNQRWqVZe3WgPycJ/DG0BX?= =?Windows-1252?Q?wINwqQExWQcuECnuDJPg1czM28kPd87QsCrbyG9fEa6hL5yTRi+cwVXQ?= =?Windows-1252?Q?yetejRDjvPl+d+owEoVwo9/YQijg5lxOFZLPfm8KRl500cASFhrcZ0UJ?= =?Windows-1252?Q?bZgeKx1J11wMI1d22Uiylz2g7nuo4Jv2pscHEL4ViOgtHfAhSeHm48za?= =?Windows-1252?Q?F9NSqtiYW9k8Cd2Mjr2CAHOnfTrvq9PqrtT6ioAn00I5lONVeC+z5t9K?= =?Windows-1252?Q?AErShzw6oHyMvS9FxSrDzhkLXQY2XyiZteBo6vXjtjXIdWnFzMX74wRE?= =?Windows-1252?Q?Tzffk6XD8C2rLuc8SKmeh6UZ2x1OMVxF3EyuKkE1rvDY0M24cK447tlz?= =?Windows-1252?Q?idOFSSFb0K8hUCFe5eaT8Ssr5idXjkk+1PXVXBWqzFYr/qm/WURxyqNX?= =?Windows-1252?Q?MSIWP1KXePUMkpmQYr9OSPJunWLczum8Skv2RzrAAJqXBxcqzeFBgapN?= =?Windows-1252?Q?H+0tCuJYpuMpZ7rYV9VIwz6d3RsLsmwRLSDJhBpz4XFj6J3MOpTvis7x?= =?Windows-1252?Q?Tnv33q4noJ0YV7cdDgwPedBICcQKUj7vIxzWbSS/cpar67McuLejKj1O?= =?Windows-1252?Q?aSDpN1AgRIJVwVaX8pqOorqvrQW1fFo3+I/tbQgvQA+T0QvARk7JM8Yr?= =?Windows-1252?Q?B2PrzbC3FZtUGp7ytxsfPsNSctVqRLUXJV8Z3s+2oKLRSmsZURs+z8SN?= =?Windows-1252?Q?WhqgAJn9G1Di6eNxLhT2ETTgqi+4kZ4ckFBhLiFQuqdlH07893kifyx2?= =?Windows-1252?Q?vrsshkYSmRSkFAHgE2SujXGBQOBxvxs5L45IYJslD1PGACuan7LDDvMG?= =?Windows-1252?Q?ffkiPeZkwrzUaGNwJjrFwiQKfCAk6f9KkrI8pVQJIIJ4ujzCrQUhjWFU?= =?Windows-1252?Q?Zx5kUbY22VUA290dtRkiwtkwf7FhZKeuLWvUV2PSeuUTWDxTdAoPA7Nv?= =?Windows-1252?Q?GO4nA8T2GylZotMem0qq7ARfrqbzsfWFk1F4lPOuXlxpeY9S5EoM0og2?= =?Windows-1252?Q?6ox1Ud1pWLg+pCHCXDsYcGZt42696e0CcBattjbkkYOmruBUSGVtWQLg?= =?Windows-1252?Q?wb54dlDI6bzPQMsmMic+MudR9dTk2BjNwDlrUEEycjc7U64W/5oU8VgW?= =?Windows-1252?Q?KhQ2upp3zLkPu8cAulSGmpWBSIRxA29BhBwdaQezKU4ybIwIcuMI7dJW?= =?Windows-1252?Q?sYF2Ywprqafrv1646msERfoTMoC4jQlTR07EXGYn73VuzWFDn4g/w4oD?= =?Windows-1252?Q?n+ZI/Emvka5MC0U9S+JJG9cf00Kgj4kUdpdek/T0e2n0vUiafuKTqeLm?= =?Windows-1252?Q?g469WnLwbXwiEP/1FqFmSjvL4WdeZufZRxN13qTVklWJ7w6iaSedtnSa?= =?Windows-1252?Q?/0qGbtnGndUVm+uxVwzIZ8RU4nru8cfnKaZBtj6+6HpOEdG6Pw8UfMxA?= =?Windows-1252?Q?144EFuvX/vuFGmvBYQqFNKXcfEg7ftuFFeUS3WfCvOUUBXB6sVESGoN9?= =?Windows-1252?Q?0fOftXI74wENPbfRZja/5YvAXQJH6rfuTu/PuvSGGrgPlpvPuGuAc8U8?= =?Windows-1252?Q?11FK+K5c/GBg9XwupRMSoZHJ5ilTsH3hA4BNYmWnYf7uKbhcdMDfTBQa?= =?Windows-1252?Q?5e79sPJ6SZHBiJgqBplTjrAuRd/Dpb75GVxiJjsHD1KwmYly7FKyQoCd?= =?Windows-1252?Q?abOg6T7T9CZrgg=3D=3D?= arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h76HEY7QCxF/T7KKWYPwOHrX80rj2eLzYQoO10owGEtqtt15EbGJV52MahHQXMRr+RujNtCR/6H1E42r9r/eXvdagGlrn/qqhrmcQeMQVs/wx26pwYAnT96VTNji/OAbLsf9FxkedSQ3adT7k/xaokxmg6vO+xvYs+sJ40mFpMrbdoikVIi6pLUSzR0okIuVrSNguUr3Gtw3zIviE0L1YOW7pbOMUr5gSlIi8FsbtFcoMuxSwxz1SLkW+6xs3FKWj3zRiMERaQip7r6X50HhEwXyonXZSic8YqLyVmZn8gtjqcf5+y8kwSL65it3wO+w8Zge7NVEbkNFruNn+Bt77A== 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=Pq5ZXA7oHmoQahSdLQxE8FcCSRPIr7TuemogIG+wqrg=; b=D7ui9E8GpBVA6OpD74yNps2TTGTcoHxd4BvVNoi+poO336UK0KbJorvsMXXTsDDVwxENWWZphjmYBv2dXEfb9QguJElCyTgH4kpjQGbkVI4QrtP9j0lYypSp/i6hTlZOLPQNbJjj7MMpdjYhhvbZsEDwSVrEiA7fhveuMc2avxsGqHajtfVWE2hLaQt3z3On3xWGmf32tB55W2ODeObkRYUBvstZnAJVTJG/AuZpvf+4SDasRNCU2dduU/1uPFvddQly0hs8l/hfjUUymRMzReu+vk4HiNrkKh1KhtLS8jAHjnZjfBD96oUQHMVmqu2qUDUweZVL3sKntObUv24UrA== 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 x-ms-exchange-crosstenant-authas: Internal x-ms-exchange-crosstenant-authsource: MW5PR11MB5809.namprd11.prod.outlook.com x-ms-exchange-crosstenant-network-message-id: 1eb5f8f2-69ef-4c6e-d8f0-08da4e1d9e6d x-ms-exchange-crosstenant-originalarrivaltime: 14 Jun 2022 15:50:34.4895 (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: /hn8TuFtr25LvnEJZgdmBjANGahatzAK4GNDwtl80AwRVTN2NfNIUReS4mXcvlDHFwymxwj9gp8G4syeaYQ+cg== x-ms-exchange-transport-crosstenantheadersstamped: SA0PR11MB4688 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Buckley, Daniel M ; Zhang, = Qi > Z ; Nicolau, Radu ; > stable@dpdk.org > Subject: [PATCH 3/3] net/iavf: fix NAT-T payload length > > Correct the length calculation used for NAT-T > > Fixes: 6bc987ecb860 ("net/iavf: support IPsec inline crypto") > Cc: stable@dpdk.org > > Signed-off-by: Radu Nicolau > --- Acked-by: Fan Zhang