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 A171CA0503; Thu, 28 Apr 2022 06:45:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4B1D840E78; Thu, 28 Apr 2022 06:45:14 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id CC16B40691 for ; Thu, 28 Apr 2022 06:45:12 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 23S39MOm015020; Wed, 27 Apr 2022 21:45:12 -0700 Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2174.outbound.protection.outlook.com [104.47.55.174]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3fqhpjs2e7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Apr 2022 21:45:11 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QWf7/Tw9NeY8ETZmMVNYe1BZ0+hhpAZhm3pO6lpkHvri8MiPHSwbTwvVfZa3MOJsqs6mQxjr8KR3dja+ncTgR0evkmbu1X/uay6rkB9zWj6WopHkPm9jwtbIZIXZMkQBLK6s3gSt7VSAKGL1IEsocp7AYgTD/UAzKeD+Qt+qRPUgbEZELJfw1jLAKbgLmwh4oyNYgUfI6E99NrRj3j5+OMP/oOacvQiG4S73Nz9/6YwmvG/JtipyOJHnJRAHkNZB6JdZPKZakNjoyOwTXoqwnE52caJIJhJ0y581C/4v8yTGGh/11QMfhLXEPD1w4d2rdEAkW+3dIvKxPJ/c6H8b/A== 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=iJEd3c0caU0zp2NAxwIPVecUqXhgDs7nKeA9bzEKMeA=; b=LNchI9zK9jU1f9Dq+B1LhIiJ+rR4t8VNhSAn2tfvVOq1ZJo42s217abku6CIat20gkgXU3tHZ7Ay7g7AOcFOGbdrf7Wx52B6bIclE3lg0DkhUOcqbr5+HChngHpZc5UAkx0Iyv2u70cPfP3GONtiG9wBxCMwrk2F1d8RhO1o61kRQJWmswDXDzlucAL+4wN9iqfH1SPFBgKisDuoZ7fJi8t1GLr/TtIll2zN7A7refroc4iJ8A/aEubwEKiGYPTsZHM4FPvmWijjFsO2bhtODG3GtsEK30n+VWLvytpI8gPPkn61dBOdNeDCi8NElCRusWLAqEAj/gfNQ0o/k74wtA== 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=iJEd3c0caU0zp2NAxwIPVecUqXhgDs7nKeA9bzEKMeA=; b=YYLhJ0SfxiFdh5IW4oTxEbRX8oyjzuBVzs4w0FZ6VoHsj8Q6pG5jmmYL65rTdwXUjmpUba+YZIMY/LEm2eIDBfGHckXpbIZJckzTwd2C0LAv+dllA5uWSMASMqDOtBg9an1RmA6XDYF9WeROfnIlqkYm+yRjZPqx1RDXcfLXN7c= Received: from PH0PR18MB4672.namprd18.prod.outlook.com (2603:10b6:510:c9::16) by MWHPR18MB1309.namprd18.prod.outlook.com (2603:10b6:320:2d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.13; Thu, 28 Apr 2022 04:45:08 +0000 Received: from PH0PR18MB4672.namprd18.prod.outlook.com ([fe80::141b:43fb:348e:f3a]) by PH0PR18MB4672.namprd18.prod.outlook.com ([fe80::141b:43fb:348e:f3a%5]) with mapi id 15.20.5206.013; Thu, 28 Apr 2022 04:45:08 +0000 From: Anoob Joseph To: Volodymyr Fialko , "dev@dpdk.org" , Radu Nicolau , Akhil Goyal CC: Jerin Jacob Kollanukkaran , Volodymyr Fialko Subject: RE: [PATCH] examples/ipsec-secgw: destroy lookaside sessions Thread-Topic: [PATCH] examples/ipsec-secgw: destroy lookaside sessions Thread-Index: AQHYQpG4TpXlB4d2mk2oHSgZ3RD6j60E7+Kg Date: Thu, 28 Apr 2022 04:45:08 +0000 Message-ID: References: <20220328105047.2293528-1-vfialko@marvell.com> In-Reply-To: <20220328105047.2293528-1-vfialko@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1ce7924e-a33a-49e3-9979-08da28d1df26 x-ms-traffictypediagnostic: MWHPR18MB1309: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: DqiCKB6y1AX5yhjQHh6cxEonA7aMGGjZhcBd4XNw5KNb8LM0Azr0kmPwGODTcZr9qeZ8qqKwqg+6wvduh7W8xoqmNvhlHApDXFIzmEz6BmAH13epVQM3NvdmPvO/AUiVKy4zAC+6CqiF5koMjnqJMVkZhI2tMCoP2hAmJmjEuJPzhcqU0lfSPC6jLIGorOSMe3g8kN6UgGGgdSem3COx+MwqpmGtWRxloZiW/uU3RxF8AX9XdA14TpFwSHnnLA0TQvOB9YytJbGhkN+hCBrbwMU77eTsBI2lilO2jHD7SH7WQ2aILknKB1PUIP9iBCgil6vB2140jaN2kGY4JM4tqkQT55KaMNUjn9aPN01s5GNuZvCkbgRdxFCN22supttGQkcGBZEG1cf67s6w/anjp5EbUgwZhDBE+9KgvCsQJ6mCz9EWsJ1BKoHxB9+9ygERBM+bzUQLrxGnp1U9VpfeqWa/PCHRPyTj2hJR7tf3ge1wMQHMM0DTjYhjVLiyIi6xqbsWVxdjstEHWjrsFNtcThiATtgIrgJTLkWFn9/8gLhpO6VPXTfb2b17+x13DQMFAlhXvosxw4Sprbqe3wfp9EFJE8waqK6qnWA9ywI8yxMMUwyFZBckb9VSG+VSX9I05CIMbJVJICDyEaHODidTDohF6SR99jADD2vm0j++iZDSch6evignqxB18OnSLJz+b88GoTHA9luBQsFMI4lqlg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4672.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(83380400001)(86362001)(33656002)(26005)(5660300002)(2906002)(6506007)(4744005)(52536014)(64756008)(66556008)(66476007)(107886003)(8676002)(76116006)(316002)(66946007)(4326008)(66446008)(186003)(8936002)(508600001)(54906003)(9686003)(71200400001)(110136005)(6636002)(38070700005)(38100700002)(55016003)(122000001)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?kFUVfW2Jv2irgnOhuTQD8+kOIOodKm3dYR4Yt59ScRX11b5ZTdzY2I/zAen7?= =?us-ascii?Q?GgpphK7tDtkQVncEwb7fwukANEbC8HMQEsHotKx0+SyLpVW+l+jNZDWwjWvG?= =?us-ascii?Q?JmDqJzWbxStPl1SRI1NFLYs6i9RTSDo2O3tYbRHKqqch9gkn4uE1xBUNQaQ2?= =?us-ascii?Q?auuxC75VgqWjiIUOYc2vrpxrDiGv/56yn1QClUjwIZa3vuFogBPVK5mX78pY?= =?us-ascii?Q?zF50WoNXdBxTC8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?= =?us-ascii?Q?6QrVnERUvIPDrlS1TDUP917EmBPP7XN5sJU/zZI1a83WFpf463d3gT5zzV2K?= =?us-ascii?Q?5NW5+FY3Fu0Aiz4gOomHtZJt1ByV/hVPPKth4RLN109hu5UU0/VLmMQwGa4O?= =?us-ascii?Q?XK6SAR3I+S9AKuB9u/wT+7l/l6eaD8BXr8yZDySA9sV2wXi1PrcegWS10BH+?= =?us-ascii?Q?CgrDd476NB1tdgDGLYV2V8SgR6zmf4nrvD3q62MYlLlJ+Z/4luVw8bkkLcNi?= =?us-ascii?Q?nH2y6AstHVombua4kyRFyyfWvVRq21eT5qtco8L8Y+FZzmzWhyJpDJhaQAx+?= =?us-ascii?Q?rdoYSz8hzOGkU0wmQfGnua5UOhCHcwaBU+FBU7ZhDWpEy0421o3hgvP6I8Nr?= =?us-ascii?Q?q++aLRJdFJAiwQYVDA3ryKvo68GB0lx8Vqg+a5lYvztJaEJy2nDxw9H8VJ27?= =?us-ascii?Q?ZeiJ56LE730E5NRGbGVG1t7k5hlfR/T7LOfRmkDnn/Wfbkl10xDIP3/hfeS0?= =?us-ascii?Q?gaKjaEhEL+lDtc4CrApaDtpWqpc/nvlOC720WnT+LEa74/YQsEGV8omIPMdt?= =?us-ascii?Q?Vrj1MuAaqiQdTafei9bIfgRXKTjRipmEv46hmcl3uiI2PHka3Mz7ObJN9Ew6?= =?us-ascii?Q?wk9Hl11FNQ=3D=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: PH0PR18MB4672.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1ce7924e-a33a-49e3-9979-08da28d1df26 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Apr 2022 04:45:08.2846 (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: xpTk2OKuzLgow93ymLrK5WTRJmRQeZEyj5C2y/kBhEX1piX5JcB5P+C1FnDkSVgKwF+aWaFwcwRaGo26dtSSjg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR18MB1309 X-Proofpoint-ORIG-GUID: 3r0_ZpvJC0bqcEAQr2P50g5r41HX9mIQ X-Proofpoint-GUID: 3r0_ZpvJC0bqcEAQr2P50g5r41HX9mIQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-27_04,2022-04-27_01,2022-02-23_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 >=20 > Lookaside mode also creates security and crypto sessions that needs to be > destroyed after they are no longer used. >=20 > Signed-off-by: Volodymyr Fialko > --- > examples/ipsec-secgw/ipsec-secgw.c | 48 +++++++++++++++++++++--------- > examples/ipsec-secgw/ipsec.c | 12 ++++---- > 2 files changed, 40 insertions(+), 20 deletions(-) >=20 Acked-by: Anoob Joseph