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 75AB9A00C5; Thu, 25 Aug 2022 10:11:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 598A440DFD; Thu, 25 Aug 2022 10:11:56 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 1CA9D40156 for ; Thu, 25 Aug 2022 10:11:53 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27P6LX1P009592; Thu, 25 Aug 2022 01:11:53 -0700 Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2044.outbound.protection.outlook.com [104.47.66.44]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3j5p25v5xt-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Aug 2022 01:11:53 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TPQbb/P28yFTbhmD2fkanarg5Fk4ei1nUPSJ/MLS1ZSeq4PxUvDAOBC61hFSe/3W3HnieRTdmejVpxwfZaw+BTNgMvgWO8FbRLj7krWrw9l316rQ5RHkWBrK2GCMUKI6TB+7xMglw3+snF8DuQdNtqe8XiX07FdThooH+ECioqdxIiHnOs8i55lG2Qke98rx4hB7ID8eA6oIWrK2S8OltK7whnH7hFo87n+MJ4XZWtb+vlDbTvmP/EY4sskiCGRpYMZmB1zXlwSLwD4QeBFgJ2SyLMc00SVPtMyFd9ziUMVIHSHEHddaygtVpIcLOEGxtvKO3B0+v2dc2rnuCiTmqg== 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=7fccLY6+aJ9zEp1J9LxHBQJvZ8m9fZ+j4kCQsm0O/0I=; b=GOpH5gbrjxQATQnPz8tdMo+qvTicIc7LVGrzvhyDaTD4Lv2EVvMoTFt+piH/Qk53hPl/Xgfi8Hyn2/NbXa9RdTAy/eXVYiGlOeJ/rKumEogPoRk1DIjV4+2Ze895wALjfsPacONC5K8QEQ6xtP3hoN2zDGxxOWp6FplD4te2aJamXgbpysF6TZEYBJgrUQvj2zgZHi5LcjajBFBeEwQm2D7cMewENOsjqFm/bQZJ1xqh3OABBsWZeIClfX1cQGHmeEqoWsqkhH1F28c2+XEnkcZ2y3nMMqtwgt2BsIGISZvvvi6lQf8jQGSE8829n/UrUuX/zmnmMsIdGF8spdLP7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7fccLY6+aJ9zEp1J9LxHBQJvZ8m9fZ+j4kCQsm0O/0I=; b=NSQ+THomtnKPsAsPOuOswsFwuSmx+cYqtgFmhVW/aflvP9b8RFoF7p3wPsWTxH3Erv5Lk2BNoxLj/3jaJhCUjKfdf7QUP6Lm6KEi1MxxmKrD3H2c4FA/8fLRIEo5G26TsoDR28K6njogE1kcAtfiZW9dNp7buWAS4WtaYyVPwGQ= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by DM5PR1801MB1964.namprd18.prod.outlook.com (2603:10b6:4:6c::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.23; Thu, 25 Aug 2022 08:11:50 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::b0e9:25a1:1aea:4382]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::b0e9:25a1:1aea:4382%9]) with mapi id 15.20.5566.015; Thu, 25 Aug 2022 08:11:49 +0000 From: Akhil Goyal To: Nithin Kumar Dabilpuram , Radu Nicolau , "konstantin.v.ananyev@yandex.ru" CC: Jerin Jacob Kollanukkaran , "dev@dpdk.org" , Nithin Kumar Dabilpuram , Fan Zhang Subject: RE: [PATCH 1/2] examples/ipsec-secgw: use Tx cksum offload conditionally Thread-Topic: [PATCH 1/2] examples/ipsec-secgw: use Tx cksum offload conditionally Thread-Index: AQHYnRb/LjXIcxdWt0uHBcYYMbHnZq2/ejlQ Date: Thu, 25 Aug 2022 08:11:49 +0000 Message-ID: References: <20220721153132.3570-1-ndabilpuram@marvell.com> In-Reply-To: <20220721153132.3570-1-ndabilpuram@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fe67ba28-625c-4d61-a609-08da8671763e x-ms-traffictypediagnostic: DM5PR1801MB1964:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QldhgfHoDhmdJZ39zbgHtM0osZ4OebEX077fiW5yHydHbxFkaV+RTABwBmWgGDHIkkJ7ydPUvzd/yX8Av14rg1hQ5oLlGceBLddKEeSzC3EQrK22/VdSHJQTb5IehgrAN2m60UREs0mYrRLCma539tMGFVd0E2pPBsJnVHa5TNkgmbW1EaLqMXKxu0+SLCxMQ1dwZ4j+tmxbEfJeDl32htXfS59GORPM2XMAi4ilnJa3DbkQvfEfH4TJ/kXEVEPGrDwkCb3gubN2LV31Z8b83i9BYWJSb3k3/Pix+4q2XC5nyLSAvfmzZAPU/MfHrLgUPWiIGdOL9wTWnR2oToWeheFAFWxes/FOfJebpSqSy06GTbSovld0u7BOuoEXc/JaMvNPNt4iY7fMaC+7BAzwCtlvAbE7USBUAHcyJCgDjbZgvDN8IhWkAX4xIYk+7Ui1DTwFNPBErOe+R/2iCczBmUaTn21fmWi75+8dTU6dwEnPhnYvXxPwxGJewDLFY1ix6263RbzmJWitcHXFvohqXsmlLKGY0s9w+aj789fMV9QDgQoau/FmIZ1CAx+WEdCGjnFI8I8n/LijDYnFxcUsq37+LyXam4KMXKK/Xothq+nk6USMrrYhMeDgz0eJH6WN+W5HcaUcTjTgg+t2K8kY5zQ5uA5MRuluazAXvMsCElAJKciL6b70kjM3en+ZcgPPY5rdt6dUSpZKaJcEx4qPB+3OQwQv2ixfYc+10Dqn/IcielPIK+9JEdZuybzX4xUWCcFzCiQZj0WWZuOzk/HFig== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(39860400002)(396003)(136003)(366004)(376002)(346002)(6506007)(38100700002)(55236004)(122000001)(9686003)(7696005)(26005)(2906002)(33656002)(4744005)(5660300002)(8936002)(52536014)(54906003)(38070700005)(316002)(55016003)(8676002)(86362001)(478600001)(110136005)(41300700001)(71200400001)(4326008)(186003)(66446008)(64756008)(66556008)(66946007)(76116006)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?INvoNg6S2ACQERrewvS3U2c51EF1h2B7vE5izhq6A3QoKfdM0XAtdeoRJwry?= =?us-ascii?Q?IJzTkvZPiSTtOQXdOdE4sasl80gqrwEh4AlATkeeSOaHOmQosoai/poulR/s?= =?us-ascii?Q?7ilo1n9huYRK/St3Yo9nqh2eFThIp1PjZbjWMeOX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d4TIkTP/tGesht5wtgEAT6QYY1scIQ7EKhWMTCYH8H?= =?us-ascii?Q?/MUzcJiQbCmvDc50IMJNjrIRkjVOfNCwOY+g/r6urgaiv02oNLLXV+Nk7tRd?= =?us-ascii?Q?+bjk2SnXsJEMscIZMOoY1nvAcRXmPYqSSEh2c5279yqf5+qvv+gz8ICwKd5H?= =?us-ascii?Q?gh/8gtQX2hOVWhbNJkGvtwQ2ih1eyriyR1Dfck8lWCtoBcGI0fg82bi2pSoe?= =?us-ascii?Q?9fM6l618eEITnquwzu/V3iUAqH6iSLU530woRSHI2fEcUe7arNwupaenHRlT?= =?us-ascii?Q?L7Be+KRQa/CJMp72W5d3iP06PA8+q0TMsu6WMOtAqAS9hRfkSuYwivYmJd+N?= =?us-ascii?Q?SHo+VOPzf+Gfc/fK7KK7/GBbaIlqvlrx+F7JB91kypQVgppt9T1QXHSY+/L5?= =?us-ascii?Q?++48dQwvGBUDx0tCDy/Y7XuRG3/KpbzHw2XElJQ/qdY9rsyv26xIfFNqN+D5?= =?us-ascii?Q?e+qKTXUM98/jWnoM32YXP/qBVdn+vYwYT0sajbH+B96pp2fezbwwHQqzppC7?= =?us-ascii?Q?XaM0oBEJvFY3DA1/ncO2xmPWjEinD6Og+Y4zYMLp?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fe67ba28-625c-4d61-a609-08da8671763e X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Aug 2022 08:11:49.8964 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: RlMbLduzjxB03xkmZM87bSF1ez/udiqussl3wGFJ1y4S8RURaxsTnf4M7pjD6zjdVB4UY91Qdy9v3CPDXsKAAw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1801MB1964 X-Proofpoint-GUID: 3OYS3CmvLtln4dkkbUlfD_AVhkEtM7pm X-Proofpoint-ORIG-GUID: 3OYS3CmvLtln4dkkbUlfD_AVhkEtM7pm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-25_03,2022-08-22_02,2022-06-22_01 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 > Subject: [PATCH 1/2] examples/ipsec-secgw: use Tx cksum offload condition= ally >=20 > Use Tx checksum offload only when all the ports have it enabled as > the qconf for a particular lcore stores ipv4_offloads for all the > Tx ports and each lcore can Tx to any port. >=20 > Fixes: 03128be4cd4d ("examples/ipsec-secgw: allow disabling some Rx/Tx > offloads") > Cc: konstantin.ananyev@intel.com >=20 > Signed-off-by: Nithin Dabilpuram Acked-by: Akhil Goyal