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 E68A6A00C4; Thu, 17 Feb 2022 19:12:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D2FAD4114E; Thu, 17 Feb 2022 19:12:23 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 5573840042; Thu, 17 Feb 2022 19:12:22 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21HFRhWG025681; Thu, 17 Feb 2022 10:12:21 -0800 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2107.outbound.protection.outlook.com [104.47.58.107]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3e9kktt59d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Feb 2022 10:12:21 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BxxHFs16GHv3hhQw2Pk7ximJ77fspfwmRjF9qxAEkdT6SArBjTqDAi5AdCfUn0/Wpn7dIQv1t/BKGZSU2JZYBtNdOVJ65Vd7cZih936+hjclC8XI2FeQpRAInqsumTIFRLMBg1RBGmzPH0ftuM2fQZsnwfxibTq/hytDapwXcW7pUjtfLbcLhb7+h24HWijfKGu+h5Ny2JyEbWxUKf/TfXFNcGG//1vsWnmJb2buH0u9De3upXSjlBIaCOimbhhPVv9RhTLJRZDRfuavMmqXgVu8ajUsO4q3JUha0rGTt6Ys0EcxFOz8/QlEYm4no01Cul3kKqV/nGZwGX7/Y+HJmA== 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=qg6k//0ePQTAi9yFqVuGujmlO80GVxxXA9MJJsOhAEo=; b=IbvNF3Pzlcc98VuCEkHk8cRTE5169kyTlsdF5Z816nBjKVPBo7dXUuoIv1T8NMipmPIJy6VBQUZ8ytJH3ugGkhBUAeJ+Hfya7Q5f0giTZA0LOtaNyb9EOlXJNJVqJFo+VIRuCKK79f1CyjmCJVXywbKn8Y/y73lXBMUTFnui0+lI0dnsQbGKkCPrUwZicF3+Z8F8oe0AXK8r9twEi69Bp9KDfeMRoh6Hmgy1XqRYIOsp7m5UGepqihGGKdQzE7pSl9W+bbKyuRFTbFmeBQdjEkbCDOHXYyoJW1bWjn3ASnGNdfKZKV33v2WbfWo5LCUQTZjehs18h2d6l/vUT9PfCw== 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=qg6k//0ePQTAi9yFqVuGujmlO80GVxxXA9MJJsOhAEo=; b=GqpVxuHJ+Nwv0DwuIx6PV+amp01qu6fLqsnb3mLe7xD1R3OXlXPpwWFxlnMjPEGRVkdm25o+IR10WV7ZYhak0oqHokRLou+VNPQe16L81QFfI1IjHN6+46ekdnf5OLH5ZGi3F1qkDTA8Eih3H0CUoqoQSRiOkDA9ciGYjZoo0d4= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by BN6PR18MB1250.namprd18.prod.outlook.com (2603:10b6:404:ef::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.14; Thu, 17 Feb 2022 18:12:19 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1c79:10d9:2997:cd79]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1c79:10d9:2997:cd79%7]) with mapi id 15.20.4995.017; Thu, 17 Feb 2022 18:12:19 +0000 From: Akhil Goyal To: Nithin Kumar Dabilpuram , Jerin Jacob Kollanukkaran , Radu Nicolau CC: "dev@dpdk.org" , Nithin Kumar Dabilpuram , Srujana Challa , "stable@dpdk.org" Subject: RE: [PATCH v2 3/4] examples/ipsec-secgw: fix buffer free logic in vector mode Thread-Topic: [PATCH v2 3/4] examples/ipsec-secgw: fix buffer free logic in vector mode Thread-Index: AQHYG+u0e06Ewd7i/EaVaSuaXGT2s6yYG+gA Date: Thu, 17 Feb 2022 18:12:19 +0000 Message-ID: References: <20220206143022.13098-1-ndabilpuram@marvell.com> <20220207062641.26574-1-ndabilpuram@marvell.com> <20220207062641.26574-3-ndabilpuram@marvell.com> In-Reply-To: <20220207062641.26574-3-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: 07f4f46f-2eaa-478b-ad3b-08d9f241098e x-ms-traffictypediagnostic: BN6PR18MB1250:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3826; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: J1s3d8QKKcaSsMyNoABcSvjXVP7HTvX3mK+lBVxcdv9cZll7uZtD8zK/ff+JIwqvufnz6Db6mr+ajYIQW/2aIExVs1ByRiiIK+5ix5L3iy1ZZ9UBxnNK8JVz9RJLuW8wENninTtvjvhpbQfed0MKFydFcXJsYjwTZMbObzVyYcBXSjcmpYJ1RzIk7KuQSRf8awEpm6y0Cql59MsyLAO2G392T5bIdc/onvozktFNUZ3rzV1s9tM+pk3MC2fROaAw7JrFNbQYs7/6wt+8L24NK0SD7xIZQODkdPi203Z+RP9l4iX+1vCS9ZSAUqk8KGL5VRfJVHuG8j0MwgR5JTfOyySHMNGo80HLTs5pEyP8NoUYyXM/+UMT5e/6FP4ns3Zn/nrxG298fjQn9kI8klnuuJ+rCvLwIvnErhonJCV21UeHXAFd0s4sz0cvzJ0yFmEv/aTkClsi1Pd+NhUBcUfHiKwM9YvOUMyko81d6pKOCLvpTaPIKcIpcDvWhSx1V1T/LDzZKHACMTwkInRQVxHDZFUQvw419XQNKXsKVtMKbvSetcNGlTNT4jnwG8ocSLfOJ1nFW36DKUr5sp0ISj7TAPnQXXP6kWxQGilesc04pvUqKVOE7P9Ba3TDmUav6qvC3lY4nk7Xclb6R/MGZ2qG1ryAbmZWB9Ow2rmesNC59Zy5DvpFzU1C1mj0gGoN0WPeRXMi8mTkwquBooDmE9M+TA== 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:(13230001)(4636009)(366004)(38070700005)(508600001)(9686003)(33656002)(110136005)(8936002)(6506007)(7696005)(55236004)(4744005)(52536014)(5660300002)(66946007)(64756008)(86362001)(76116006)(186003)(66556008)(4326008)(8676002)(2906002)(66446008)(26005)(66476007)(122000001)(38100700002)(71200400001)(55016003)(54906003)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?qfUVv4GrCH9/Yder0uLRFtBwtgZupNgKRXnmXCH+/GT3bE/cEy164ocxOLdy?= =?us-ascii?Q?ZAy8jORUNS2We/EMHZ2uYclviP4FpiUuwfp/AKFiquzaybt/U16txSmqXTYr?= =?us-ascii?Q?snFPdX5vZVV3x5fwzWMC3jeKGCZ2ZKgwPSi+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1lEAFvvFNO3YIUfMX5P8fawL4P72TUhP9wPmH7pjkyKG6dde5xEMo8+jp?= =?us-ascii?Q?CorkHeljny4/rD/raUxVJ2wHhk3AE7cLcHDaODnWuW2/trpsoHmwcDR8+puV?= =?us-ascii?Q?oSjaC27ZYqPMY2ligNVYXog1a8Al5RqhwuXhs9qxUALeT/N6mhLnMvAQpSgo?= =?us-ascii?Q?aj3HQ/UYr3bvHplK/7Yo/3v0zBp3qvfmHMmyn0vdqjylQRFEL5j3VNuqy5TB?= =?us-ascii?Q?Ul/ep3qc5RtRFIckqJj13dVv9eVa5d53uqvqDPo3GTkjMDdmca354stTW0Gd?= =?us-ascii?Q?zvhCK7P7Zo1/Gyq3KKq1or9ntEReFKMw2uLhpitQ/WK6mypWaezNuQaoRJEG?= =?us-ascii?Q?kKabzTrsfBx4ZhsJtKpSjotVzfMC7bH2EtZOa95jLdIqNUsNOoHws3rDpV7x?= =?us-ascii?Q?N6ZE5ZztA6S0iAZjZx5eUpQI0vjC33oa8lsRPiAyf/GJYAQW722iuXWP6yo3?= =?us-ascii?Q?N01uvHtuj/rzoZuRMcumNPlylNTvb62QOqwoPFsRTftKGmbjnvxTE2aBhc8o?= =?us-ascii?Q?nr2ds88y7PTee7uE/TWCMS92Qgu+/k9v8D1RwTSyczB044jn1D6MO7sJJ8q2?= =?us-ascii?Q?8jWjmg8wPjlPoZDQZ5bvrW8=3D?= 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: 07f4f46f-2eaa-478b-ad3b-08d9f241098e X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Feb 2022 18:12:19.6152 (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: sFDUk0qel24LdeJtgKXAI+DzlGJcq6/Kexov75PbyfTeDKfHUy+Z1VBfszIOucofwvbHnEDCSStyxS7/+WTiNw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR18MB1250 X-Proofpoint-ORIG-GUID: xrAOhBJHl_Oh6ZtAA6dRe83dumJZmo2Q X-Proofpoint-GUID: xrAOhBJHl_Oh6ZtAA6dRe83dumJZmo2Q X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-17_06,2022-02-17_01,2021-12-02_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 > Fix packet processing to skip after mbuf is freed instead of > touching and Tx'ing it. >=20 > Also free vector event buffer in event worker when after processing > there is no pkt to be enqueued to Tx adapter. >=20 > Fixes: 86738ebe1e3d ("examples/ipsec-secgw: support event vector") > Cc: schalla@marvell.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Nithin Dabilpuram Acked-by: Akhil Goyal