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 C2628A0545; Thu, 30 Jun 2022 07:01:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A5B6040A7D; Thu, 30 Jun 2022 07:01:10 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 9AA76400EF for ; Thu, 30 Jun 2022 07:01:09 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 25TLajgB006236; Wed, 29 Jun 2022 22:01:08 -0700 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2168.outbound.protection.outlook.com [104.47.56.168]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3h0kgcbyrx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Jun 2022 22:01:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PUWCalf8Mxxe6UNaHbiPy+TKb86pYH94ZR5rtGSX+mIlHHKMmL9OBqAhhDZh+Jk7VabMS3SGulPrDI2k4HSpI3VnGFOj8N1YJjou4/sXPyl5ixi95f841Fmj8EYMfhj0g/a1NJRdERlH/JV7uSijx44bdbY9rondTuyY4LXgXddGYsjLueELmfgMUucIWfsTsV69P92GM91PwWG/Xtfsc//9Y+RB3gToi8ucvRoFIxqvPhYK8GY4FzocRpL1wMgurTvfNBzitgXp8KgrFOXegOxVV9fgOU6C2V6bC0/m9A+uYeKKjgOVqEqFnof0rz5rfmZhuNfpuFxDgCRBwsGVbA== 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=UM5Y7lfHG0XHH/vMDkPsxqEFZjgXHUGJC+R1WP36TA8=; b=Bavxl28SMv6gsBg82laJca7IcWaObPrzmAVww4HD2w1efECXw/o+lc9q+Lc6MSqbZlYW5cj3zxVOjQgkcgb4qqriL1AYtxWXoFR9O7TW7GDBjT6qheh6g/Z2nsAQh0YJXbNGX1pkWrO+NGvAXBJD44V6qlx3w/kIMqpW6t0PWsoM2GDImJ3ydqVze4RXxvSpHvJ5GHkWT066ys/FbDm7Ah/nXjjp/y5Yn5SpdiW3qK6gbiweGlD2THkH2opYHMiV+cWYGF4WP8bQ7+NY4TcblvnMTWF0gqIuvSJCaNPYQHrgwjeQmkrDUkxhoKFrjqPCW6re7+KClj5kTfjS9COVyQ== 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=UM5Y7lfHG0XHH/vMDkPsxqEFZjgXHUGJC+R1WP36TA8=; b=kVwuo2eub0m5uf0NCXTe4XSmdm8paepBr8y9g+H4iTqxnliAGdwC8o3Rtpv9HnjVgB4lHAPXnSnzxauziRuSJNYqyqynLR8meLSZNf9+A+1rmqYvvP7LRIIUli4odb3NSyr8jL8cptdxgr65HqpvCyh1Chk3IV6yobnLc+OaHtQ= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by MN2PR18MB3479.namprd18.prod.outlook.com (2603:10b6:208:26c::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.18; Thu, 30 Jun 2022 05:01:05 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::bc33:1fb9:5d70:8c5]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::bc33:1fb9:5d70:8c5%9]) with mapi id 15.20.5395.015; Thu, 30 Jun 2022 05:01:04 +0000 From: Akhil Goyal To: Radu Nicolau CC: "dev@dpdk.org" , "roy.fan.zhang@intel.com" , "vladimir.medvedkin@intel.com" , Nithin Kumar Dabilpuram Subject: RE: [EXT] [PATCH v2] examples/ipsec-secgw: fix Tx checksum offload flag Thread-Topic: [EXT] [PATCH v2] examples/ipsec-secgw: fix Tx checksum offload flag Thread-Index: AQHYi9fAWrQYIE+ZWUuy0DihfWyaqa1nZGWQ Date: Thu, 30 Jun 2022 05:01:04 +0000 Message-ID: References: <20220622092808.1952992-1-radu.nicolau@intel.com> <20220629164607.2317125-1-radu.nicolau@intel.com> In-Reply-To: <20220629164607.2317125-1-radu.nicolau@intel.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: e088a741-252b-4f94-9172-08da5a558930 x-ms-traffictypediagnostic: MN2PR18MB3479:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: a2eNWu5T/Vwg8VKbqPPUwSwPWekeRg/sJJEzBsa12np4qCxOI+chF//h65w4YeDOEtxiT0i5h8MS20b0x3ia/Ptdc8UkNb9Rqd1yksiBkRmJuCbImhBXF94ROoiPZvr6zM/1Xqu3otEnQNQ7syeSxxm1w6KezuAOAnnpfaLKny6RNR+fMhQUHP4jll7fMnv0jQl3NCUiPHs6/eJYp2VRUobB/G3T0HsrHXfhcYF1csTJ7YJIRmtA/2MGs1UdgZ4hGPoycS1X5Xlbpg6U5c1E2rFcrC/GtJ3vtOuWSBO11xPplAUk1EkMqo7tux2UeCgr6DDrpVGZNhjPHVoR12KpZcfC9KKtScb8NVn8U2NEL2M9QPm9WMCqS49H4RH2nMwMRwtUkwAX9Fy5JdpWzlHuFqcD42eeTXLzGfhsajBA8ikipyGWDdGZhW+4JO3ill2Ee2yJE9vLLgDlt+kfoidWM3hrKx83NpRNnkmajsbrHhKZurRPyQeShd8ZvUTC4z8UMgdqy8/YVKm1UXMteQKB0Qq9iwf8uRtGt6cNpQwAGqy4JYYHEINPfrR5TwW5myKX5Ry9KrsGHnAS3Tzme8ZqFtQuSNmrUPlLPeYuzP+hgLENWqTkX32vI4QnAOuG7GtJ8yncrrhSZQPSn/oLIfXy4pVJ8OrPfcF8lsBw8tlRHp8+U5qCqX7oSeUzvXJtaF3fV0XAcJEmS1fXeV5EDCkPABHicdVnU+3DqKZV4BDpFQyy09hMmdtPcasGbg60Zfsqe7xDYlGLcy7Y9Tb8Ttc/z08X5eAH/F4aFTReMubERHTmvKbmdL33u62P6/U2cuQ2leRbTGPw/FcElX8H/L9BDhXdVwuSKb/XkzTpNLb6eebTpmkGc0VSxhYiG8IakUnW 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)(376002)(346002)(366004)(136003)(396003)(8936002)(66556008)(2906002)(316002)(6916009)(55236004)(4326008)(107886003)(8676002)(71200400001)(66476007)(66446008)(54906003)(38100700002)(66946007)(7696005)(76116006)(38070700005)(9686003)(478600001)(33656002)(122000001)(55016003)(86362001)(52536014)(186003)(4744005)(41300700001)(26005)(6506007)(5660300002)(64756008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?i8y0Yh+w0zWMgz/6u3QK5LJrNWgAfxgxX8FY7lnQrNZTb2w7i4wkq7vSlG0A?= =?us-ascii?Q?i7bzHacd25XXC8clYa3LllLAltlaz/lXYfyVtgmi/x0BitBel/+8tJRTnU/+?= =?us-ascii?Q?Nu4xdDRZc7I1yFnr9XTQdeQtq8+qcb46JBNqSeuw4WfmRGBI4kj9YAJo6uEP?= =?us-ascii?Q?vt2wvA4DwUYaagmlBRIO7LinzkJX0c4IoV8fX01ZfHUM24x37rOrDWwYRT7V?= =?us-ascii?Q?8OTRehBXI59WOQM31QRFguIBfpqjb6vgd6PiPMAeog9kJRMYcHrY4VFJUTzC?= =?us-ascii?Q?ndAxxDempXxR8I54droQSzY2EF1ETPZxlLj/Xo6gS8zkHFS+QYCyoF5UBaOO?= =?us-ascii?Q?hL6qWJY2AVITPHUwnnKdjtHEnSjjAsESGXYjlBKYJfv99raE3DcLS8eDudky?= =?us-ascii?Q?0lKcVs+QPyUKAsT5n5kyF00pbmJtWDW4qfleT4LTZ/pD7gJHfuAoo+d6cfwc?= =?us-ascii?Q?ZOghildNDNoVQYcmEgO1TmPgkqezkbVQ2qrlXJwm9gXgephIvawbmRyjD7xl?= =?us-ascii?Q?uZFJH8GgoAL3BoveyVrvIK2dFEcb6G/H3Z1qxDp75hcdw/uoMDUu8tPSx+pP?= =?us-ascii?Q?B+XdTw4+225FF6PfTcFIQcZgyt1rhOim7YdUCzybp4IQL6O3sADf98RuepG7?= =?us-ascii?Q?KoloGXax1LYDeUhFq7bkA7yxoeYkQWKAYluaKHm+acG27u/MPfGUBjBKxqF2?= =?us-ascii?Q?2/AtDYP8dpksCOVhjVI4I33ClZ/r69GDjyMK02J1Kl2tPrRO5F1tSaSkPfH8?= =?us-ascii?Q?ZTMmn3O/TrPfnbaEY392gQWlVMi3ZNTQ57rUm2719LjOG/luLjAhGGhciSaD?= =?us-ascii?Q?bmy6viGRYEBGHjIMFht4WzVu02pQqwSQ5OJ31hlWSunFNXx1QeEVTApOnp5z?= =?us-ascii?Q?Ikkdt3adl2sEIKi4HdUTaji2818ekju1jl1g4kJrVCcvNdZgy3pDo9uWmQKP?= =?us-ascii?Q?MrpDil7/LBn43yOk2mT/fqmxVO4T9+co963hDRjAQaKPhXXN/SAHUjth0S57?= =?us-ascii?Q?kbkGtIrpMuMNZcWw9HvX42/qQAIaVojef+WGUMYqPUNkjIPlh4o1YH3OHqgq?= =?us-ascii?Q?bdUw3bvrs9fAFDJFXKQsiqg1X6HjTlqoDsHdaTU7VAVR10Y8xxyzIM0iidjM?= =?us-ascii?Q?WPyx/G+Gj5Jp4VuuMCUA3XvABzLmEfRAs4LToTmTRd5qW2L99JGcAke23dNH?= =?us-ascii?Q?NglNQbirA5worMfSw+SUwKKNFULQbJHNAZF1U6frZMbfq0nyviUhREhMgFUe?= =?us-ascii?Q?KrMOJBmXL1I6jN2aOq+1Ds0meqj1If6kAZEJPVx4UCpW3/eiWHJwOR7OBjJR?= =?us-ascii?Q?9orSeFvGL8MaJ5KM3UuiZCIylqF+wpLzr5HK7HZwoU8zhc+p6pF+emoaIymu?= =?us-ascii?Q?Kkc0zGOQqQN5l96gnPS38f/zgsxX1O2qqeTjz4KIw/ZylcghyQ++MjWl+X/x?= =?us-ascii?Q?cKg2awud0bl1RcESUPXWTTK+2yQs05EqwEbhcEsPudzIu4RuVCbAtWMhuaqc?= =?us-ascii?Q?yV/Cl7d6IbLMR/5EsxQMoRplAO5r8LfJEq2krPJcF6iYEMh7Niix4coCgrsC?= =?us-ascii?Q?yolwMQzSqHd+A+EcbpdTB82igNTnKqq9Nwv0QTsw?= 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: e088a741-252b-4f94-9172-08da5a558930 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2022 05:01:04.6103 (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: xNbILq1YiHSGZJJc28U3xq3GHOt5qHUpEeQetrfoWoY5+oksn3En8u6dD2mOxqjzdROX+lt/d2knKf7GVCjNqQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB3479 X-Proofpoint-GUID: j9Z3mdX6YQ6vUtdJb7eMgeGo3mPUhXUs X-Proofpoint-ORIG-GUID: j9Z3mdX6YQ6vUtdJb7eMgeGo3mPUhXUs X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-06-30_01,2022-06-28_01,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 > 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 > Acked-by: Akhil Goyal > --- > v2: when supported the checksum offload flag needs to also be set for por= ts > that don't have SAs programmed V1 was already applied to crypto tree. Please make sure to send incremental patch if the patch is applied. For now, I have replaced this patch with v1 on the tree as it was not pulle= d to main.