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 46E99A04FD; Wed, 22 Jun 2022 11:47:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E2FA34069C; Wed, 22 Jun 2022 11:47:00 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id AF4E940689 for ; Wed, 22 Jun 2022 11:46:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655891219; x=1687427219; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Rd323lZU597tb5X/MQwEkBeiPwEY1oQ/7WRc9h1PQcg=; b=daoo61OR6Fvgn1V6oayEO/Hs46KNQIs73pptngirUtIo2IcBjy+1WFHK +56dEbVFd2zK8wvQPA2k2Tzr4bX9v+JCA68edPuxTppgO2XJuekfjnJs1 H2ZUEBAfCe920DYTcfRmXnC9BHdPBJZj4nBZ9O6lW7HEZ+qgr/peDp7Gs 7MpfIr8JE3M4UDFyhG04QvI6CCuWpKMJLxUH/Rcgb76b2mhFlsy+CrTRO 4jVbllVmio3B5adsWAAXmha7yRnkdX/80M7FiS+geSLrelD1FPGHRSeeX Ti37Q7AuM3cpJsdGRQkU5eIIYmN441DHPm5AyXZ+NIjRBw3M5zVaTlOsx w==; X-IronPort-AV: E=McAfee;i="6400,9594,10385"; a="279139849" X-IronPort-AV: E=Sophos;i="5.92,212,1650956400"; d="scan'208";a="279139849" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2022 02:46:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,212,1650956400"; d="scan'208";a="914587212" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga005.fm.intel.com with ESMTP; 22 Jun 2022 02:46:58 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 22 Jun 2022 02:46:57 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Wed, 22 Jun 2022 02:46:57 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.172) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Wed, 22 Jun 2022 02:46:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CLpBrvXZmnb3vSPVn2ArgU+x29B3wr1Y3w5oC3DbRFqNRA8vX8ualwwqW7UlgJ0cHgl9WXq6fl6rymSCLYwR76xGuQNL0wA6uel39r2xdbGiyc2rgeVeSkZgV7lZOZNiGYT/E78ZOZmhVgtUE51NN/W85TxNdpw4JV08GAEWZnZ4js17ebJZ5SiYw+9zgFyh7/i4Uyf/glm++oscmu/bfZ7wgwFciMKALr7k6nMZWsLbis+vfNCXQdK/d+M2qSSlgdXIFbaOpmXgy/efGXAWqmm468VzYql0kTXhAwtyTL29ytqdVLbvVvexaY3y0qS0ItThj/dbMLGq3ee1qluaIQ== 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=Rd323lZU597tb5X/MQwEkBeiPwEY1oQ/7WRc9h1PQcg=; b=jxvH1ExkEF20+CbDwiXDJyXQZ9LhwiVaCOfikX2xaRt0TsIWUVPb7iH/CeE5/HKduSctCj+6gGaLnCKhBLXVMUXHTPCXWPFqegG7uTgrKoWFSfiGvXN4V7gDKweTbCjcMRdnNscCQHVquqIWxR4dQBHx2KmkEJm5xMrUk94wXdkynV8fPzdiiMKWrNijJiLxPOhiX4d653VV4pm3sJImPGgqGeoCjT16SOiNVsMFmKhCebf6o9iiIRGzLujkunr9bK2b18C9Kdtk9UnmhO1uTOlTECFg6yUdcokibq44VaLfxpvhtS6O3QjMCLfkkosEora19v58Nc+N8zandwW3/w== 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 DM6PR11MB4265.namprd11.prod.outlook.com (2603:10b6:5:1de::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.15; Wed, 22 Jun 2022 09:46:55 +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.5353.016; Wed, 22 Jun 2022 09:46:55 +0000 From: "Zhang, Roy Fan" To: "Nicolau, Radu" , "Nicolau, Radu" , Akhil Goyal CC: "dev@dpdk.org" , "ndabilpuram@marvell.com" Subject: RE: [PATCH] examples/ipsec-secgw: fix Tx checksum offload flag Thread-Topic: [PATCH] examples/ipsec-secgw: fix Tx checksum offload flag Thread-Index: AQHYhhpyxXp6CDDxlE+5hd8RGeC4Aa1bLa9A Date: Wed, 22 Jun 2022 09:46:54 +0000 Message-ID: References: <20220622092808.1952992-1-radu.nicolau@intel.com> In-Reply-To: <20220622092808.1952992-1-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: aa623cb1-45f8-4c86-dea2-08da5434244a x-ms-traffictypediagnostic: DM6PR11MB4265: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: MMAtKU1fKMjImgwWM6Kq7srH8+gaL8znkOhiGe+DIDYLPsXzSsBL03YPgaZAgsEdJ9Winc1Nh4+SFH+4+gtICQyz0HBgwEVFIq6YPU8jDaW5qsJhYnhmrx5+4v+/nytEqEwbT62uZEx/LEeE01WLTcHsyATaEOgtv8fqJ2/+Yjh+aHkkFA4na65NHv+Qg7vL3ajK47IjzQC/4B0CFyxF7JZcLGEpQ0FdW+u76aJt6mmyueKQ6ImcN608Ewav5NH9BTaewqdkpny6rS50dACBbXGgAdLIr12f0iM9jdzgVbOXy1XePtANnRmV2gOGDtmJqMJXO/ZurGzBOg/e4v6pSMCZBCapqkezCaDY2ovDjpz3vNtoS4ya1rOxlK5KUgsS/bWPe5/y/yR59r2N2BaOVUXp1rTq8gjImg0qPJ6fupVS8Cnz+fv0XIEM2WsNYJ/V5uSb9EEaEXHY5yBF/WyQ2Nl8ZJ1VYGJUBzpOsaeD0/CI3Ilz2jq2MCmvgAhRoX2LmZdk/76pxg3zTa0IKZSHo5QsT66nyZPRT2MUc+/w6sjtlp+mwWZyKMJGA3Jul1R0FC5+9TTCqyIe2P9tkhlKdw86GtgI7JqFitSJefscOLBbfo7UJe77h4F+Ad0j14ZjH6RgkFvRVrpaFUxK79NNjle2FmrCefKlcRnseqhxSvG7sAJcz5kSC+Hio/E63PDnCWks3IcAIdXuA6+ABdW4Im+obGBfDIyaGmsRNDMUO3A53M4sYOPuWVIOfHkB8DRjHeYf6WSMeihYogKFlB8JVQ== 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)(396003)(39860400002)(346002)(136003)(376002)(26005)(186003)(7696005)(2906002)(6506007)(41300700001)(83380400001)(9686003)(38100700002)(33656002)(53546011)(66556008)(66946007)(110136005)(5660300002)(64756008)(55016003)(478600001)(38070700005)(4744005)(52536014)(66446008)(8676002)(66476007)(4326008)(71200400001)(82960400001)(316002)(76116006)(86362001)(8936002)(54906003)(122000001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?IHn0zc/MbATXnOIQRCEoszLSiBQoetwSdFFY5MT6hB1lW94ztZcMm0o2?= =?Windows-1252?Q?wQe3mGAuQ/kdbZCp0aUpbzneOg90MN2ngD01wHCrFEjdr5tXzAznp06r?= =?Windows-1252?Q?lLFm2blMiLebf3hHguCWlaOsTaaYNNM9D9nDgExMtxxbDbbO4JlQWa7P?= =?Windows-1252?Q?lDm+icQ+gFE9RHCl1G7bOxZw5kNMDkw93TkIm6F+9W6004dar2NIUas/?= =?Windows-1252?Q?1Jo/Zu7TH0WjmrDf6Z6XILJlEbc9tK25Fs6+P6rJ1lRNxWFm9orL2Adz?= =?Windows-1252?Q?kawQ5D8rDtGoPeVv87G1ZtMrTc7SXrbWZ8j7CcsQWlPco9kQQMFAYC9N?= =?Windows-1252?Q?nD4MizD5Bv7Vd4dZG+lFp0DHZ0KqJQ5pOP/OpRrcltMxfrJGn3j2aXS2?= =?Windows-1252?Q?Th6BnqsGAJUjXmy+PCl7ozdy60ykqfRuAgyHoFOMo9aud2FszbCEJSIz?= =?Windows-1252?Q?VIrizZtahbJgBMOj1CyN2p7mlCqIXq2v8ruR2rUJJPa3il+d2g8UmKL8?= =?Windows-1252?Q?dkR22cU134+48TxsCiWlCVOeD2soF+ybaPupRfmo4DJBtFORI0mZ62Cp?= =?Windows-1252?Q?1tuk1rD9IyZopoo1SmxwIK4Go3426Ile9nrQTJCVBf1vLqzhDs0SOVAZ?= =?Windows-1252?Q?5aJ7X2kYSVVYSpSNmyT+QJurbw3YgIf9iS0ARo7PU2+5lroP9pCT5Kw9?= =?Windows-1252?Q?RG6189bSs3lu7dev9h0w3ATmwD8DV7k0dWy3C8i4OxHS+9u/XCEH9l+n?= =?Windows-1252?Q?soOxSIALYleRAbyfaUFiRKvOiVfv1+mpGhq7jgNGOByuJRZm30Jd8RgO?= =?Windows-1252?Q?2koaBLgzW1520gre/kc/2nl2MdlIa1hYw7u9ZHMqPUd927PrYHeUp3Be?= =?Windows-1252?Q?ClhREECHbvq5NPFKlM2NKJWySIUXR8DWBnsG5rXOrbkyuuwq7zv1igw+?= =?Windows-1252?Q?ZXZs2/ZR6QO2qoJv9uuINu4C8qy+z2fNcm8Gs/JAO8cUAt7DxCX/bX/I?= =?Windows-1252?Q?5pXncP6gzRuOTOGS9MFkyiE0mhVlMCczWMz4D7u0rmgk9bR1/IHedbws?= =?Windows-1252?Q?fcgOLUyRBVDUG10I/nE96miwfbsX99XyWSEGXnVSrwIFcIKX3qcMgdnv?= =?Windows-1252?Q?wK7absnN9PJqJe62hP0649Di0i6oZ6DE7eWcKKsuYQbAElX2mUMYpVeP?= =?Windows-1252?Q?il51yMdurquAhYLtWQnobk53fScVOmLHN3TNjKc4gvWGUFbrtqCZnRSE?= =?Windows-1252?Q?eOzt0/soZPBD8d1T5ozp/0Xt6JMs7z4ODYupypV3gqAG/AoGi1+zrmpT?= =?Windows-1252?Q?sNjPc9AGBsZVcxEprC7QXJXuFcPl/NF7FX4srImiVrZN7x7wlfyJwm3D?= =?Windows-1252?Q?5luEHQOB0IdHNe/amc8Q+JgxeiYiN/Y7de6NXOen8Xf06asAM+B14ZbM?= =?Windows-1252?Q?97pdsa2OhNPHQiFDGrUMdSMHH4pMItCRMg/JOgTjbKrtYAIslJ6X1ovC?= =?Windows-1252?Q?E34Av8USkke993M2nFyhUunqdbGsiM5cwCGC+xtGT46IWuQx3DEVRQTC?= =?Windows-1252?Q?/hUPnH4EDuVMIXp7ddQ4zIqFLSAzi3AZJYPDXbEFtzhjkAxA0u+jf5f0?= =?Windows-1252?Q?kMRCZZVMyJeosQSKv2E0gy0tL1F428+UIv2NO1hnPYbzWOfwU6jc4QAA?= =?Windows-1252?Q?WxIjhmdzZ7UGnQPx+UhxAzLJZu22IC7uIg6MQhGpk85yHJra9ewkotCL?= =?Windows-1252?Q?cJ1JggXyEdUEfLvYvKYc6A3zqcUEOfKxX4tf2rCj63PVt27aFyZnQhK/?= =?Windows-1252?Q?qhPqAmWVnLA91aH36SU6B2qCgQ/pJcDKBpwXI9WWVTc77bZmteJWs3Ms?= =?Windows-1252?Q?1LLK84zLRwf4rg=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: aa623cb1-45f8-4c86-dea2-08da5434244a X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jun 2022 09:46:55.0109 (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: gduYFIGi1nnUapuiezfEv8+k6eC66lUgEhj9L3Lrzdp0CS0rIlPs+7xT9aZtF43/62kbFGDXd3cG78XGJt+r1A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4265 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Radu Nicolau > Sent: Wednesday, June 22, 2022 10:28 AM > To: Nicolau, Radu ; Akhil Goyal > Cc: dev@dpdk.org; ndabilpuram@marvell.com > Subject: [PATCH] examples/ipsec-secgw: fix Tx checksum offload flag >=20 > For the inline crypto path set the Tx checksum offload flag > only if the device supports it. >=20 > Fixes: d24471e5786b ("examples/ipsec-secgw: disable Tx checksum for inlin= e") > Cc: ndabilpuram@marvell.com >=20 > Signed-off-by: Radu Nicolau > --- Acked-by: Fan Zhang