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 ADB1145F6A; Wed, 8 Jan 2025 11:05:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6E0DA40291; Wed, 8 Jan 2025 11:05:01 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 9BF6B40150 for ; Wed, 8 Jan 2025 11:04:59 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5089pokj017112; Wed, 8 Jan 2025 02:04:58 -0800 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2171.outbound.protection.outlook.com [104.47.59.171]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 441q3v00q4-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 08 Jan 2025 02:04:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=b/2+Rbo5PzlKZ8YME+UL5e0S/H9baxHf6htWhIH+1CxJuy0p8xH4g4sZl8MvR1srrCkFKAwtMPH3dOqkj3OnxJ2NvEBgaTJxYqc/Oy+HlHLMlgcHmmtVLmBdwRa62PH3qnunQtL3Y4rLeMLQVTWOGn9MJcVnGhcw1TMrqxxYQYglNNJhSwYbog087mpWFaDoIdkowS74fYeVr3rr2zUnXBtH+ZnKic58oah1t7M53cVJ7sjoA7XYBPHP7FyWxTWiTLTVmSasYTzJ8FIkjr91xRUynJoy3WXh4sQYQ8J+N9GHRh7lI7bgCsLz8Cyc0HFpDhct/l1GWzfK9Lbq7OOLEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=6LD8ZszsDEFwZEq1GXgBUGH9UUHVdCvtVxf2Gz6//U8=; b=X4iWHL7poRDm3snN0Rr/1W3JGHiRTJcbQzVpg08BzUCz2cHGT6ZfjOCY2DME4pu7HOgyGcPOlt+GsX/58d7SLVwAw0Jll9dAmWahZrd2UfqO116M5fziMxTjE2wpjbsfHnKtfPKiRYvJab7GsuXw0ubzf3cIZXxi1aRX+ur1HWYQv2iEuP09oVUO3qIoTS4LAkkEvmYUpQU6wAH2CcwqCL5mfM2KlBtXM7Cfw3gaULRNImBUDd84rULWNk7UXTS8qP5JXA5Qap1YRg+TcZzE+QPcbDOxEVZwUeULoetJIt+FIoS+VfcdKYYOH05fI2/N/F1eBasX+cRKfZJdN8JuPg== 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.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6LD8ZszsDEFwZEq1GXgBUGH9UUHVdCvtVxf2Gz6//U8=; b=Qx6/PChZQb1VVLa6ffXsmDuNECh5+6iFFjkcuSQiq53xLWEOZp/DlTsyYqxLaDG1dSFjg/jDVHn7m0YyNAIa7FhfTJ8S0R5rUnRWdPtsd6mhIO4XiiWWFKtE1n13BO2a7cPrH8Gcl5kkdlNlZQQzU1vwr2iF+QzdiINNdxYd+TA= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by DM6PR18MB3766.namprd18.prod.outlook.com (2603:10b6:5:26f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8335.11; Wed, 8 Jan 2025 10:04:53 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::3c98:dd36:4897:a51d]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::3c98:dd36:4897:a51d%4]) with mapi id 15.20.8335.010; Wed, 8 Jan 2025 10:04:53 +0000 From: Akhil Goyal To: "Rajesh Mudimadugula [C]" , "dev@dpdk.org" CC: "jianjay.zhou@huawei.com" , "Rajesh Mudimadugula [C]" , "stable@dpdk.org" Subject: RE: [PATCH v2] crypto/virtio: remove redundant crypto queue free Thread-Topic: [PATCH v2] crypto/virtio: remove redundant crypto queue free Thread-Index: AQHbQNZ0LIkJ6eTcQUCua7vXCs32trMM55Gw Date: Wed, 8 Jan 2025 10:04:53 +0000 Message-ID: References: <20241127133415.1077670-1-rmudimadugul@marvell.com> <20241127141248.1078678-1-rmudimadugul@marvell.com> In-Reply-To: <20241127141248.1078678-1-rmudimadugul@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|DM6PR18MB3766:EE_ x-ms-office365-filtering-correlation-id: f92bba27-a023-44e2-edfa-08dd2fcbe59a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|1800799024|366016|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?/260Kr87uMwT7n66G1yfoKuNSzbHhssepb6yQrwCVNwe/aboyWyIXdMlxhRb?= =?us-ascii?Q?YYrHauUHwpICKdx9mKqmMFhAOsv5O6TtaL2G6ja4Ja+mnCKWQKAJGImIR2Xk?= =?us-ascii?Q?PmPjxtYQiWqcyPMShlPISCUpzVaHGAfH7Ipd5m9BXzWhY7Rhbo3suV3x3VtC?= =?us-ascii?Q?6Vug/bN+33sqaMzinFxSF492/niPTku/6WtP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?Q?trDpJkZvALMbadSxU0kmdCGvsY2U4300TGAz1smKrznCTsTRHlIWkFNJfQZ2?= =?us-ascii?Q?9iUfE/BwyC+/jZWkYGF+iIeirWGmO6Zw/6WWQcxTohfP9vSBxEjaIvltzRad?= =?us-ascii?Q?E+iMmyDIYObu7cvzv8EXLnyjyYKbDa5emMZ5qbdmmU1gjHxu//r1lXkj9tuD?= =?us-ascii?Q?Q9z4/OrnTncHAQfsvcSaXrHRwabDGrkMaVeiarB/DHWnArz8ZxF/bDQpkGHw?= =?us-ascii?Q?tV7A1LjJWLXiHVRXgzUeTwbJaFWGbCwLXvsOMcxXeWkFVJt54d7+njuLuTTh?= =?us-ascii?Q?DPqydh+Yka6IeFJU65MJ2dm6/OFqzUEyPNgyvacVZVm/NSiJ4200gVwfjwgo?= =?us-ascii?Q?0GXYAPBGm8+DqAGkdX8zgLN991kZgS9j?= 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:(13230040)(376014)(1800799024)(366016)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?edPzgAccEr9KzuWO1bqOVOxTOHY2TM8jzUD04Go4CK7uiirgSPhXNIcNRii+?= =?us-ascii?Q?V3crLFbbhrtfTLBYLVirpoSMJzpVTnZ4XhSnA67CY9eTo0zJixtoBlmXIQyQ?= =?us-ascii?Q?PIrq8jcyhnSFMveyi0fSkNsT0sXzVOpeDtN/u6uEsnQIPiKDyYKalFnypthS?= =?us-ascii?Q?56b7geoPB60l5eB9Fefc8pFZTo4C4xjVEaQm+RRRhqkrkTG/5Vx2zlm14BR9?= =?us-ascii?Q?6on6oQD9prFnVBHRw8bl//LeQdZuVuvAqmYcLp5CelT+YrmTFnxIZlesD35G?= =?us-ascii?Q?Sov2TAMmli/w4tn4YN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1zjHZwP+Dbc9Az?= =?us-ascii?Q?3VvIgPDcphCjYaqWFIF2F1C89GQP0M6D1MY2ZWqscUgeNt6kTCgDGUiqK+qB?= =?us-ascii?Q?DMPr9y1VT5sdZJaoZsVv/uTSBZUm3fimKGaHToUzYHR4pDsfvD2N4j20HjPz?= =?us-ascii?Q?Ix4novH6kKPU85gNcf2TQmppiJB34CvzclL61SLA9qaQxAJI2Dk1KuGYm9cq?= =?us-ascii?Q?on8D0c76JWHvlUCqWrgNplWX8oTTUyi+6Gx0svpOiB/KZj0Q70tb11C5KkUQ?= =?us-ascii?Q?awSMl4KX7WVKCeecDORkHcc8cBvZjv+lkGQjpyV8WigON9S91TLb1RhA/3P7?= =?us-ascii?Q?77lhkOhQr1ApLNoEVIdIMKwVa8CBJgTyoCNCj/BgDXm9WiHZgSgqsflG2ApR?= =?us-ascii?Q?2SsomHLE0Kdw+uFiUL0=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: f92bba27-a023-44e2-edfa-08dd2fcbe59a X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2025 10:04:53.2883 (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: /Vup1XWapTcpXxT+XrTQik1WZjC9TrC1xBzWvQyMzTTZJyEHeUAJ8F1p/52lOUJ3b67nMIB82uifLJMTk3QCYg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR18MB3766 X-Proofpoint-GUID: JRq4TzwipDbDVJUezbZqq-ov9J1-mXaR X-Proofpoint-ORIG-GUID: JRq4TzwipDbDVJUezbZqq-ov9J1-mXaR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-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 > Subject: [PATCH v2] crypto/virtio: remove redundant crypto queue free >=20 > Remove multiple invocations of virtio_crypto_queue_release, > and set virtio crypto queue as null upon free to avoid > segfaults. Added fixes Fixes: 6f0175ff53e0 ("crypto/virtio: support basic PMD ops") Cc: stable@dpdk.org >=20 > Signed-off-by: Rajesh Mudimadugula Acked-by: Akhil Goyal Applied to dpdk-next-crypto Thanks.