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 D647741C2C; Tue, 7 Feb 2023 09:56:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BD95B4282D; Tue, 7 Feb 2023 09:56:56 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2066.outbound.protection.outlook.com [40.107.92.66]) by mails.dpdk.org (Postfix) with ESMTP id 6201B427F2 for ; Tue, 7 Feb 2023 09:56:55 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NRhiCkVLS6Q//VQ+qesr/LGMCIbt3hcOQMKjMN4/itrA6IHMqEH9ffnhRJwZ58ZC+NuS+6df/QsVy5prD/UOVxHqIE7t0LLL1kCDlbarORsyK/TRlKpfbB02rrARuCNDRLE/hjBzSRHIq5HVLYgXRCCtiDypq4B2sOjWeEDAsa3EMpF2QktOQ6FaKveHFkIq9P7s3IQSD/jMvRAC8ZI2nnn4XlLBnNeKQpR2dJ7gmUW1yGE/+8YNEiFWD7gYlGPbkRyymeLmUn6B0TchEpUo+0ozeHLBwmR1ebquX1JZOvhZSrRCF908Nr0yYoBD3uSc+Ce3aupjoP0ua+05FcWBJg== 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=GD/gWSZEOTK+ndui2j9bb4TMQyNFmlyJPpbCTTQ6O3w=; b=R+XExz/H9/ZZ9ERhkUFwIOHSanirzviqX5eM7NV2kK2SEMnEFeLbKm05KdFuTK23YeeFAA1UDdv5lN0zFsls2aOkca0ifBNT/G95n1cFnyDhBzxMIFwjeSXTcNyimO6b7d4eugwX2+Kj4MBkZJXrmJH4aMT8OhyJ0lqzXDIwWtizTthVRNFdZPErOHRVvgKhCk8B+q8RCMdejAMHaEL3DntdjsgFJFrc7YT/9RWC1jJQZ6XLREtFaliRNfFMPZadDFKw7VLt/XWwipRN9jailJbQwu85bkvkmJLGQZC2BESAXCkNLkdUsqzHwJR8LcrFMBisDdYjhSoWE9QBgq53KA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GD/gWSZEOTK+ndui2j9bb4TMQyNFmlyJPpbCTTQ6O3w=; b=uQefGrQyluM0chLZCLucgJWSrU+h6TFn+ULYKsPkaVRsCEQOz28mZdgMqID77dnZSmBvr1743bfmK+uTK7UBJHp65j49YvIh/FBbYepLm6nRZjs7AoIbdAmrtu9NawYQ50WYETsGWXan29hsyi0p2445NdSMrfIvVNE/pBCztNM= Received: from DM6PR12MB3082.namprd12.prod.outlook.com (2603:10b6:5:11b::12) by SJ0PR12MB6808.namprd12.prod.outlook.com (2603:10b6:a03:47a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.29; Tue, 7 Feb 2023 08:56:52 +0000 Received: from DM6PR12MB3082.namprd12.prod.outlook.com ([fe80::12bb:9697:46d5:c65d]) by DM6PR12MB3082.namprd12.prod.outlook.com ([fe80::12bb:9697:46d5:c65d%6]) with mapi id 15.20.6064.034; Tue, 7 Feb 2023 08:56:52 +0000 From: "Gupta, Nipun" To: David Marchand , "anatoly.burakov@intel.com" CC: "dev@dpdk.org" , "thomas@monjalon.net" , "Yigit, Ferruh" , "Agarwal, Nikhil" Subject: RE: [PATCH v2] vfio: do not coalesce DMA mappings Thread-Topic: [PATCH v2] vfio: do not coalesce DMA mappings Thread-Index: AQHZH/wr5WL+1ubhYUiYfLJ4gCqsP667p9IAgAYNGNA= Date: Tue, 7 Feb 2023 08:56:52 +0000 Message-ID: References: <20221230095853.1323616-1-nipun.gupta@amd.com> <20230104051936.2456411-1-nipun.gupta@amd.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2023-02-07T08:56:50Z; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=192475df-98e8-4878-a58e-28e9dd27a1fc; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=1 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR12MB3082:EE_|SJ0PR12MB6808:EE_ x-ms-office365-filtering-correlation-id: e7c5e8d3-1263-4406-b0d4-08db08e94198 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: huN7eySRAvkSq6Kx4kA7OZxfi3lWrqN2YXqVevXft6vxXJ+RpLgkxBYCJlsRdh8QRT2MGcSMeF3MMzBWSSKQCY1VL7p/LuCoi3K6C9UYBr7I+5OJw8xRR8aAsfEU3TymjvK/w9zJjbetuqetbyeLlR2sUVirBUb5z/GFKj0hhXgneAKWlDFNNssiuQKTt7WtMo8yL7aSDmfhFRhLpljJAbA+dy6ceoG3Ogzd3/CF6yjXDtC7B7jr0anHblhii+LdZAliwgC4LUVYcI1LtvtM69jc1/YHC2TR8oBjv5ppI3387Az3x8RgiQwyg0NDtG7zBIXflNeUQ7Q0WlCvY/wLnqhw/5jdfPSCWCbrllogVz3LpDiE90M/v/fALt8rnFXKQK3BK19xznI0G/h0sqoMNz7YIw+gSwDz/iAi0CAq+JkelF9q6C2EcgMZLWxuqGc3G9L1s3eBqALfdjGnPNTIlT2/bSoFh431Y/Rf3hIcc3DhI8gSOwIFN+qGPCklrje0OZj7FUnQ6mX5/RLCx+u9VECajKYO/L/YKKexnaEZc7ZtrE74Vy8YrWOJK5OV+bpfDhiqFKAuOsizqvP5IPY6I+RhdAI0lNKaKqCixC95UTh1WXf5NeWG26l8iLUGXTZEMjzC0+ieAhDDTzX/zNfJABzqbVSHhaIkezSMQKEnkXKU6aN6EakV7kaVaBhiZLIfFFd9wlDVP8jjEfH8W1PRGw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3082.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(396003)(346002)(376002)(136003)(366004)(39860400002)(451199018)(4326008)(66946007)(66476007)(8676002)(9686003)(66556008)(76116006)(66446008)(186003)(64756008)(52536014)(2906002)(8936002)(6506007)(5660300002)(26005)(53546011)(33656002)(55016003)(83380400001)(41300700001)(86362001)(71200400001)(54906003)(7696005)(110136005)(38070700005)(478600001)(38100700002)(122000001)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VDFqdUROTmdjUDlsME1mYzgxMDlSeVN1L2h4VzZ6RUdnaUxZZzJyQlFZSjlm?= =?utf-8?B?ZDZmdTFWL3VhcnMyYWhIc00rRkRkNHlFQUxBTDgxWklTN2oxYW1VbU5HOEJQ?= =?utf-8?B?Tmd2cTk0QjNQbG1YenN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f-8?B?RUhsdm1DdDdtK3ozczlWbHlHQW0wOG9KY2VzamZZVWJqR3lndUprbWtKaklV?= =?utf-8?B?alBPUXk4cmpucTg4M0VWdUJIK1FlTzliaUsrUXJWclBwcW5SSUN3bXU4YWFS?= =?utf-8?B?b1paS28vdGZHSHJLYTBkL09PNTg2cUNrajgraXBzbUFDdnp1cmk1b3ppOVFP?= =?utf-8?Q?Ba7M=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3082.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e7c5e8d3-1263-4406-b0d4-08db08e94198 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Feb 2023 08:56:52.3828 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: i4iuILj4ycl9EhAUHQSiJObV+JNSsNNRCpUzar+EwIn0KjBCYLlWzSu2HAcElhJu X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6808 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 W0FNRCBPZmZpY2lhbCBVc2UgT25seSAtIEdlbmVyYWxdDQoNCkhpIERhdmlkLA0KDQpJIGFncmVl IHRoYXQgY2hhbmdlIGlzIG5vdCBzdHJhaWdodGZvcndhcmQgdG8gcmV2aWV3LCBidXQgaXQgc2hv dWxkIG5vdCBjYXVzZSBhbnkgZnVuY3Rpb25hbCBpc3N1ZSBhcyB3ZSBhcmUgc3RpbGwgY3JlYXRp bmcgYWxsIHR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