From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C43BDA0563; Sun, 22 Mar 2020 18:20:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1845B1BF6C; Sun, 22 Mar 2020 18:20:21 +0100 (CET) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40045.outbound.protection.outlook.com [40.107.4.45]) by dpdk.org (Postfix) with ESMTP id D9D441BEE5 for ; Sun, 22 Mar 2020 18:20:19 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aZ32sWzz0SDUU8c+NyZ4OqaXczJeBRAwJvR0OA/gfYqffMoSTQ5653aoVUiWJQf3mrKIdLw/RZkyRkRSgXM1UAf0ASX9xkUuoCBejmSDZnK1sjgPD9FUeQiBXwPd50AQGrhjjIYgikBwMtlFkSV0s+6H/kuJkcff9p3YOhftfIEa/vdLRsp/+g6/sKqXqcL/Vmi13HQYD9t+S2lZ1uoJjur0oWdNreMyW+6NC/ZDd7r0BbmThrF8v1TyVRC+pDDvG8H8Ks/bxR8gTW0jBJBdeAwrPFDRlr6SmsU59MxbSqZFJodjpIMFqVGRDtrnLA+Gbf1QaFlGXMa+m3wC3UMfmg== 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-SenderADCheck; bh=KnXQU7FLylmisAEpfpYnZkbggjqaDMfbtmJ++f4oK6o=; b=kCxpAKRs/wLs+zaQ6UpdJBT0giJyZOh6W1Gb+rnsolYtzWqO9p5DVamECp3WfxzOBymyTAe4k5gOHOtkWRMX2qAQwaoX3n+nklxmf6AbSONOjAyK2YMjQ7ySen2N8TS9aHs1v6uO8f0FQMKPl7PFIVuJOq1CocgMqh2H/uDxgL2XlFT0juxexQYiigS1rT47EeXSFRwOAl7T5oBCV9rz8AUzoxI4X02kx/fQeYreUFelV2vUQaNQo8Mk2ONvLM4XN18MHdUgtJjN/KoRgRuOyWIPKAo78l/jQCy8A/NPjFZmnskpRgb6IqeW1/Jg9b8f2qrrx7o+/GHg/y9hHAeyqw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KnXQU7FLylmisAEpfpYnZkbggjqaDMfbtmJ++f4oK6o=; b=Gap3krW5Tv8ieS89Wx6NdPISOEvPz8CqZfHAGr9EudYP5SX/4m/nOYQBz0iyVseOqhxOHs16UT7Kd/Otxy87Afw4bXtQvqOL/nAWvfxJtejfAA/B6iFDMLmOv3N5JC1aH0ASI0COjoR6BXH8O206AZeeRrqSC8R2fZ5/r+ajH20= Received: from AM0PR05MB5313.eurprd05.prod.outlook.com (20.178.18.220) by AM0PR05MB5698.eurprd05.prod.outlook.com (20.178.113.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.19; Sun, 22 Mar 2020 17:20:19 +0000 Received: from AM0PR05MB5313.eurprd05.prod.outlook.com ([fe80::d3a:60bb:d61b:ea19]) by AM0PR05MB5313.eurprd05.prod.outlook.com ([fe80::d3a:60bb:d61b:ea19%7]) with mapi id 15.20.2835.021; Sun, 22 Mar 2020 17:20:19 +0000 From: Tal Shnaiderman To: "anatoly.burakov@intel.com" CC: Thomas Monjalon , "dev@dpdk.org" Thread-Topic: rte_vfio_container_dma_map/unmap functions Thread-Index: AdYAa+x8kt3yAkNBRHmc9uGtorKwoQ== Date: Sun, 22 Mar 2020 17:20:18 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=talshn@mellanox.com; x-originating-ip: [37.142.1.17] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 779e3499-c055-48c3-68f0-08d7ce854ba5 x-ms-traffictypediagnostic: AM0PR05MB5698:|AM0PR05MB5698: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0350D7A55D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(366004)(346002)(376002)(396003)(136003)(199004)(4744005)(54906003)(86362001)(316002)(2906002)(26005)(4326008)(186003)(6916009)(9326002)(33656002)(8936002)(81166006)(81156014)(7696005)(8676002)(71200400001)(9686003)(52536014)(4743002)(55016002)(478600001)(66446008)(5660300002)(66476007)(64756008)(66556008)(76116006)(6506007)(66946007); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB5698; H:AM0PR05MB5313.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AgMOGs/imf5/JGnZKEi2X0d169CEQbpA9tf0JfxupQZk+smaM19gwgv6E79E0BeNBegZ8iqsp2+lSaMJzC4iUFMu7ndkgcqauLsio6hY4vpCFZVUR0OePBAZTQj4ihjrURlp8shVgfSOIxpWxqXE3Km4PzD5gVJipbii36dx0tt2LtPuh8d1nPrHEihV5PBXSgk2tsMk314SxyR0sCpI6+lWN4Bndjk7BeumRGpI9AtmOwbeGDVozP/q4GPQDUo09NoRBVd02HWu0Fc8zJLQoHixwV4dlGEC8OMvKyUuFtAL89dfIzkr/Z0fpf9r3lDLDH6hYBeyzYT5VLhOk4sK36+1mUxC5ysyKURIRz+wHHoJ3nnszQAWMeA5MYzpB6LYgMqWN0XP3RfTYWiPQVHvvt24Qi4KETosA9CYSzuYZKqObqK07PO9r7UbjBB3VMzt x-ms-exchange-antispam-messagedata: C/bPtU8Ym3yizsL1Uk/s6jFpYtcqCceqe4MmiAnv+z8VXbBPr9pxUrzP1pVpHeA7RuA+pbIJ6OjW9n/D0S/Wet78Lu/Sgr5LkbNnX169gdenZieupUyjIoUFTynjeC2IL0no9y/G/VoAYdJEjyLN0w== MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 779e3499-c055-48c3-68f0-08d7ce854ba5 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Mar 2020 17:20:19.0768 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: TdvNlXk8muXMJyKygekGUn+EQFvh1VO1/hZQlfErIHeMhi7854GkGYRiWU7dRQSE805azzzDz0JYVhgdc8YTug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB5698 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] rte_vfio_container_dma_map/unmap functions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Anatoly, I'm working on the implementation of bus/pci driver for Windows, pci_common= .c uses the titled functions however they are relevant only for Linux OS. I'm wondering if the implementation of those functions should be moved to a= Linux specific area since FreeBSD (and now Windows) are forced to implemen= ted those in the current state. Would appreciate your feedback, Regards, Tal