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 3E2D345601; Thu, 11 Jul 2024 19:46:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D6FD42E55; Thu, 11 Jul 2024 19:46:13 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 9E4F64065B for ; Thu, 11 Jul 2024 19:46:11 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 46BDDw3k020724; Thu, 11 Jul 2024 10:46:10 -0700 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2048.outbound.protection.outlook.com [104.47.55.48]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 40ag3816ct-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Jul 2024 10:46:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UJItLZylqlk2Hh4gaRXJN6PyqzjWd8YMIRJ3Se8Tkr/yxZmm6U1GFTZSU7ZqCCy6cWXjrjua8IfpPo0Cl84+DSgUB+LBbruSGlRtHi6oWxOI7FIWISO4pVDFrYG9TlJg7cCgLh5Fmrb8GIuyW1SH5anJk4ipc0eF3MN0xOR6BdGuPfkvtVUcRlQkQbRMg2ncbc7qYrxE+HLbOYcBtB5c0piiGN2gDsYht25DnPmib99uu9i9WUYUXmcWyr9l+DF1gUIkzMFlIAcFe010GCsgvjqUbU6woHRA7WmoWcI0AuT5l2U0aJhUppc0jAh4X9JUEhNB6bmPyZKQ2lobeX1tZg== 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=ZzeLHoYC/eHjxsxfd48NSXl2WKp62v24nZliG7nFc2M=; b=oDerPrBcrTmGI7O1WFoWisyPd67QAE+wJ/VEb/Kv0lsrMfe68OIsKCc+QVpm2jHKjr9cOP7NyXbWs++wQd+2ObnLZN+KyJRo8W2GHMR2BgHklONHXuBqe+o7xpdFmwxXTAFvEXtREbiZihBeVqkltLTmwmYvhQwlMBQmRqA/HLVYkaPS0kZH1qvuF3S7PXo15TglvohHGOiDtFQcX/Yotm9VH+x1ZvfZSd5MNNuZUzogqG0601xC4VWgvav8jNrkCw8xr7vLKxzZjbpaOZWRfY6Uw0dfbYYMl6WS9owzd7Ch/9A0GZCXI7r0B1heBEJFVr8Vt4Km8tMASGu/bKg7ZA== 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=ZzeLHoYC/eHjxsxfd48NSXl2WKp62v24nZliG7nFc2M=; b=EjJ1j6ELL82C/AzF9GsVnbB5MW3effx+DPufaNbbRJCfWi/AsVKQuEjLI+J/e7pKuj2a8hfdlt8ZmjWpG62T6qf86RFuyTKMwukOqAKVRgDaF4bEt5ClyWyOFHe8rZ+YRY1nJv5u3r0J2RtJqnbj0u8j+BCIlKp4YCMWD61ZFwQ= Received: from DS0PR18MB5368.namprd18.prod.outlook.com (2603:10b6:8:12f::17) by IA1PR18MB5423.namprd18.prod.outlook.com (2603:10b6:208:448::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.20; Thu, 11 Jul 2024 17:46:07 +0000 Received: from DS0PR18MB5368.namprd18.prod.outlook.com ([fe80::ad53:bef2:cc17:13ac]) by DS0PR18MB5368.namprd18.prod.outlook.com ([fe80::ad53:bef2:cc17:13ac%5]) with mapi id 15.20.7762.016; Thu, 11 Jul 2024 17:46:07 +0000 From: Srujana Challa To: David Marchand CC: "dev@dpdk.org" , "maxime.coquelin@redhat.com" , "chenbox@nvidia.com" , Jerin Jacob , Nithin Kumar Dabilpuram , Vamsi Krishna Attunuru Subject: RE: [EXTERNAL] Re: [PATCH v2] net/virtio_user: fix issue with converting cq descriptor IOVA address to VA Thread-Topic: [EXTERNAL] Re: [PATCH v2] net/virtio_user: fix issue with converting cq descriptor IOVA address to VA Thread-Index: AQHa05AbZIyoi1fJp0uOKfh6s+j3Z7Hxn6KAgAAoeGA= Date: Thu, 11 Jul 2024 17:46:07 +0000 Message-ID: References: <20240711124436.2383232-1-schalla@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS0PR18MB5368:EE_|IA1PR18MB5423:EE_ x-ms-office365-filtering-correlation-id: f50e1687-2c62-48a5-3d54-08dca1d157c6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|1800799024|376014|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?OVFQQlpKakJzSVlYdWNDNGwxVDU4V05hYmw2SDNTbC9Ublp3U2lrUFJQTUI4?= =?utf-8?B?d3R6eVZuNkh0dGsyR3U4VjNqU2tYeTVDN01XWCttRUlhN3JaaFprdXdtQ1dk?= =?utf-8?B?VzVEZUNzdFhNZDR1MFBxbDdGeXJsVmlxaDV4UytOMElha0ZiRjBsb3RIRnVl?= =?utf-8?B?THp5SERHdTFHVG15anNpVVhjQjJGblg3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; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?RGQvYjRNdjBTMlV6dlB2MkVVV0Q3dk9lNm5UMWhLL1J2NEx3amk5bjRjUEpJ?= =?utf-8?B?QnNRRmhQNWdlSENoVFVZWDZUcy9TM0kwQitnOElGclBCK0Y0d2Mrd1BYZi9y?= =?utf-8?B?VXZPQzBiZFh3bDVzd0ZLemE1Y3FwN0pEUXlZNDVNTkJLRnRiM1V5cWlpbHcz?= =?utf-8?B?c28wb2ZzZXBlRTRCRGJvdzh4VlBuVjNMNTdJZjVVYVgrN041eVNqbFdDWjY5?= =?utf-8?B?THdkOWF4VkdmL2pVb2pKcVhudEEwMjE0Wld5MkZ1a2xLZ3FtV3JxNkl2QjB5?= =?utf-8?B?dGlLejNtRXZrUHVUOHZGMmhwTjE2dUJxZ0gyWXBoaTN5SU5pSFNwUmNMSHNv?= =?utf-8?B?UnVkNGgvdVhjVW5xY2tDSlhwK1N2SEhaaExvUHBlRFJXNGs1aitFM2d2UzM2?= =?utf-8?B?NXJEZWlXVmM4Ykplek5zOVF0VjN6eEhJU1p4YzNzcFBrdm5EQ2hJK1FzdDBV?= =?utf-8?B?VjNtSVJQM0p3S1RlSE0zWDZJc2dYWStzb2RpSFVWbTJUNDRKbjU2K1dSdFFt?= =?utf-8?B?d25wR0JOTW5VS2V4cXJHbWRYMnRFOVBJUXVpRlphV3NuWHNSY1ZGODA0bVpW?= =?utf-8?B?L0dwbWVNbVRNS1lZMEQ4WXRjRy9LdzYrOGUxNVNjZ0dKNU5QRDFDQkVVaXpq?= =?utf-8?B?Rnc4YllLRG40WVRhc1ZNN3FNdHhrMWRVM3pncmtEY0IrODYrSXNFR2hvcG9P?= =?utf-8?B?cUxPYTE0QWlHcTNzMXJGaWJNc0Zud1hwOFFCWHBsL2Q4NEpsekxsb3BSM3Va?= =?ut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BoQnlaL29vVXp5?= =?utf-8?B?R2FtMzJqWTc0ZnJMczVtSENvN3p5dXZVUUlOVldGZm91cFpqUHNYR2JSOVhk?= =?utf-8?B?bDhBZVZuTEpEOUlDMnQ3SVZHL2ZrdEdyNU1XSCtERFBhRWI4UnV2THVhZTl6?= =?utf-8?B?RVBEOHpxd21WVFRMV1JMTE44VnNxQUVva1dCUC9pR2NsbllVVmhSaVV1b2hU?= =?utf-8?B?MEJwc0RiTnNjaFNhZ0FISHFYSzBObFh1ejZaaXBJZU0rTFpjWlBRQzBndVgz?= =?utf-8?B?VjNvVVJIQlpQVnZCdlJiT0Z5ajE5QnlNdDFGUUplM1hhU0s1WjdFdk1CNXY0?= =?utf-8?B?RDR4Zzh1Yzl4d2V6OFMrL2E4ZUtUdHVXcWZoK0ZzdzlpSi9ZMlA5S0N6c0lG?= =?utf-8?B?cDBJeWpuai9OTzVneFNuUmw0c1NHUG9FWWdKZkVjd1paN1VCUmZwbmIwU0Zm?= =?utf-8?Q?n9NDcJX4K3XBZEPlxcNIp72eU?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS0PR18MB5368.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f50e1687-2c62-48a5-3d54-08dca1d157c6 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jul 2024 17:46:07.2018 (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: 3stet9skiZcF+Nea7RmZoo8OgIQ/VnI5Mzvt4X4d0aHcC52ZDCNvghzye+Ym8ZVAPP66tVLR4Ag7y9/l95UXgQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR18MB5423 X-Proofpoint-ORIG-GUID: 6vRyrhMbP9BUw-tLofKNb4vWvl7-SRus X-Proofpoint-GUID: 6vRyrhMbP9BUw-tLofKNb4vWvl7-SRus X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-11_12,2024-07-11_01,2024-05-17_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 PiBPbiBUaHUsIEp1bCAxMSwgMjAyNCBhdCAyOjQ04oCvUE0gU3J1amFuYSBDaGFsbGEgPHNjaGFs bGFAbWFydmVsbC5jb20+IHdyb3RlOg0KPiA+DQo+ID4gVGhpcyBwYXRjaCBtb2RpZmllcyB0aGUg Y29kZSB0byBjb252ZXJ0IGRlc2NyaXB0b3IgYnVmZmVyIElPVkENCj4gPiBhZGRyZXNzZXMgdG8g dmlydHVhbCBhZGRyZXNzZXMgb25seSB3aGVuIHVzZV92YSBmbGFnIGlzIGZhbHNlLg0KPiA+DQo+ ID4gVGhpcyBwYXRjaCByZXNvbHZlcyBhIHNlZ21lbnRhdGlvbiBmYXVsdCB3aXRoIHRoZSB2aG9z dC11c2VyIGJhY2tlbmQNCj4gPiB0aGF0IG9jY3VycyBkdXJpbmcgdGhlIHByb2Nlc3Npbmcgb2Yg dGhlIHNoYWRvdyBjb250cm9sIHF1ZXVlLg0KPiA+DQo+ID4gJ0ZpeGVzOiA2N2U5ZTUwNGRhZTIg KCJuZXQvdmlydGlvX3VzZXI6IGNvbnZlcnQgY3EgZGVzY3JpcHRvciBJT1ZBDQo+ID4gYWRkcmVz cyB0byBWaXJ0dWFsIGFkZHJlc3MiKScNCj4gDQo+IE5vIHNpbmdsZSBxdW90ZSBhcm91bmQgdGhl IEZpeGVzOiB0YWcsIGFuZCBvbiBhIHNpb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