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 9F877A0471 for ; Tue, 16 Jul 2019 17:07:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9D2671B94F; Tue, 16 Jul 2019 17:07:40 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id E887F4C94 for ; Tue, 16 Jul 2019 17:07:38 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x6GF58co025663; Tue, 16 Jul 2019 08:07:35 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=T0XfZJIvLMUHtmyCfVxp7rGjnFW4dGAX+2Q0wN+mwYY=; b=J6YjvDMwSVSXbRWAMQIHkc1N8JP3N6zGNPEmMbLH/QIo+fQBT3fGD9UKrgNxK9hKCjVh uKoVm+QIMH3rVPx8tj1V0F3bPI5K9msv8W7KyW5goaImleldEKtj6esz9w0fnMK+4UiX l91L5ULf6jQYOXnzcxwNYwYXi8kC3kzqxlSgbUvxPhsMVNkR0soMzpgb8tVXt0vdywFF k7YZ4xNQFHTXjLg0H7/wuPdNMLz7ZNLtl2LMdmZsRsWSdHjPCcRq6ddVvvlnzMUCVIBf dj24Uey+DXJ+1zc+1M6pwaQzsXfNmJ9JylNITs36UwxMvtzUTB3Y1ZidltQvWd4rSy/0 WQ== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 2ts07vbsv6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 16 Jul 2019 08:07:34 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 16 Jul 2019 08:07:31 -0700 Received: from NAM05-CO1-obe.outbound.protection.outlook.com (104.47.48.53) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Tue, 16 Jul 2019 08:07:30 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZRnlHfnM0YUdevWCC8pH7B0nnbP/kqA0B2AYxRdW6boqoVxmiVGgb8me/W46qPiSzvjT166fk0LmJS223EvEmYt++pQg3kCnMkWisVUFgPpU3PoOmTDL247WHlnM3gCpNga8DYfOu3AKIgAy2TX9TFKwL4LNay8XSxHC59PJJuFZzFLfuVBRNBxqTAubuDMlOaNlIB6CX5hjd0Ug24goW/SybSDQUHKim/gYiGqtZaKGD3O1lW2wu0gXmbaA0bOIRrwGUxi2NGBlCl35jqMi0u/oRo6+HdUvRtcEYx2tssdmi+nvhz4cQ0sER7bxXg/fnPx1sPbUUkmyg+h3yGGqyA== 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=T0XfZJIvLMUHtmyCfVxp7rGjnFW4dGAX+2Q0wN+mwYY=; b=jKs0bmmJLuXSrQfi5cr9Zf1nApncKcbB7p9p6rb0y95iT/nU8kxm1C8Fenzu0FBy/y5yesZ4K9WTotRVBWxarExnV0Xw0+hiLakmogE9plZXKRtiZqW69DFg+DQSfFyWeNBforH0ePxEs6bY2WtMPn0N1Lm+HgubNI8xNqZ/GO+wKQgT+E8isH4p07pVekksA1hGCKqJSew4nrucNzCUfUs3NUSuIMgt+K1phDVtSpdPxhWDgj6f9y8AIRAMwXPjhyUx8SPcTvDQ2FQg6iwRizKpGjK3BXgm7RjhXBHj0dZIxSXDQKz0ThHT6lTCxseDwgo0GVharEUB5h90jW4ELg== 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=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=T0XfZJIvLMUHtmyCfVxp7rGjnFW4dGAX+2Q0wN+mwYY=; b=xqw9UAlVD6bR1osjjpE+h0SFqySd4AGliYmLBOL/zMj1uU5/YG4+qALPiJHk4dqEPqz7HYZL5HHfxmWZMOe9dd1gQD2U3dbz7mTu7hFfMbrw/daSfGpBqFJYW+p4fUexoiH5gjBNPby6lnHn0vh1rGMOc7JxWtW+l0wkoFjKqtQ= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2694.namprd18.prod.outlook.com (20.178.207.223) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.10; Tue, 16 Jul 2019 15:07:26 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862%4]) with mapi id 15.20.2073.012; Tue, 16 Jul 2019 15:07:26 +0000 From: Jerin Jacob Kollanukkaran To: "Burakov, Anatoly" , "dev@dpdk.org" , John McNamara , Marko Kovacevic , Igor Russkikh , Pavel Belous , Ajit Khaparde , Somnath Kotur , Wenzhuo Lu , John Daley , "Hyong Youb Kim" , Qi Zhang , Xiao Wang , Beilei Xing , Jingjing Wu , Qiming Yang , "Konstantin Ananyev" , Matan Azrad , Shahaf Shuler , Yongseok Koh , Viacheslav Ovsiienko , Alejandro Lucero , Nithin Kumar Dabilpuram , Kiran Kumar Kokkilagadda , Rasesh Mody , Shahed Shaikh , Bruce Richardson CC: "thomas@monjalon.net" , "david.marchand@redhat.com" Thread-Topic: [dpdk-dev] [PATCH v2 2/4] eal: fix IOVA mode selection as VA for pci drivers Thread-Index: AQHVO9zdQKKiTQU7DEmVj4RkAx7LoKbNTUQAgAAK3tA= Date: Tue, 16 Jul 2019 15:07:25 +0000 Message-ID: References: <1562795329-16652-1-git-send-email-david.marchand@redhat.com> <20190716134609.40930-1-jerinj@marvell.com> <20190716134609.40930-3-jerinj@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [106.200.248.176] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: eff1644f-6fb8-4063-31fa-08d709ff5013 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:BYAPR18MB2694; x-ms-traffictypediagnostic: BYAPR18MB2694: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0100732B76 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(136003)(396003)(39860400002)(366004)(376002)(189003)(199004)(53936002)(6246003)(3846002)(6116002)(9686003)(14454004)(2906002)(76176011)(7416002)(81166006)(8676002)(81156014)(99286004)(316002)(110136005)(7696005)(53546011)(64756008)(6506007)(8936002)(54906003)(74316002)(26005)(186003)(102836004)(68736007)(6436002)(305945005)(478600001)(229853002)(256004)(14444005)(5660300002)(55016002)(2501003)(486006)(476003)(446003)(11346002)(66556008)(7736002)(52536014)(76116006)(25786009)(66066001)(66946007)(66476007)(71190400001)(66446008)(4326008)(71200400001)(86362001)(33656002)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2694; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: z4BBK0d27qreLhaIWEkWb+7MoZpzMrKpZbl1Nehu6r1JUnkyiiLFsQ9pfbHg8K53UIUHvkRTV6YV0mkOHkH8t9OMD7zOsurGvqXni8OIxP/LmkfM6ezbrUCAGZUVOl68+9cEbT2tI201eQB3tlPk3JFv+s745RSfzeBAJBH97CJpPhPWF/dapljNBMC6yZP/K69Bc2gtJxiIuFNWrv24i3YgiHJlnEoqItNyQXV1tSzvNoCjIOsWJ6O5uBZtCO3SLKu2TKTCkSzSD2b2eCEe+mKno1RvWXoHzo/VvIFBxiyFQi5cLyXPwqIVMumCcy82cSU2e3cFCORLM22/lYMzP0xGH+ejNmRCmJwPwBVPEu6N2+2pSxZ6DnKLDP5VhqmEN3n01q1fbaGrHifP6/k1o1NfRbrNc1V5C5A4DUWuguo= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: eff1644f-6fb8-4063-31fa-08d709ff5013 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jul 2019 15:07:25.7832 (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: jerinj@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2694 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-07-16_04:2019-07-16,2019-07-16 signatures=0 Subject: Re: [dpdk-dev] [PATCH v2 2/4] eal: fix IOVA mode selection as VA for pci drivers 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" PiANCj4gT24gMTYtSnVsLTE5IDI6NDYgUE0sIGplcmluakBtYXJ2ZWxsLmNvbSB3cm90ZToNCj4g PiBGcm9tOiBEYXZpZCBNYXJjaGFuZCA8ZGF2aWQubWFyY2hhbmRAcmVkaGF0LmNvbT4NCj4gPg0K PiA+IFRoZSBpbmNyaW1pbmF0ZWQgY29tbWl0IGJyb2tlIHRoZSB1c2Ugb2YgUlRFX1BDSV9EUlZf SU9WQV9BU19WQQ0KPiB3aGljaA0KPiA+IHdhcyBpbnRlbmRlZCB0byBtZWFuICJkcml2ZXIgb25s eSBzdXBwb3J0cyBWQSIgYnV0IGhhZCBiZWVuIHVuZGVyc3Rvb2QNCj4gPiBhcyAiZHJpdmVyIHN1 cHBvcnRzIGJvdGggUEEgYW5kIFZBIiBieSBtb3N0IG5ldCBkcml2ZXJzIGFuZCB1c2VkIHRvDQo+ ID4gbGV0IGRwZGsgcHJvY2Vzc2VzIHRvIHJ1biBhcyBub24gcm9vdCAod2hpY2ggZG8gbm90IGhh dmUgYWNjZXNzIHRvDQo+ID4gcGh5c2ljYWwgYWRkcmVzc2VzIG9uIHJlY2VudCBrZXJuZWxzKS4N Cj4gPg0KPiA+IFRoZSBjaGVjayBvbiBwaHlzaWNhbCBhZGRyZXNzZXMgYWN0dWFsbHkgY2xvc2Vk IHRoZSBnYXAgZm9yIHRob3NlDQo+ID4gZHJpdmVycy4gV2UgZG9uJ3QgbmVlZCB0byBtYXJrIHRo ZW0gd2l0aCBSVEVfUENJX0RSVl9JT1ZBX0FTX1ZBIGFuZA0KPiA+IHRoaXMgZmxhZyBjYW4gcmV0 YWluIGl0cyBpbnRlbmRlZCBtZWFuaW5nLg0KPiA+IERvY3VtZW50IGV4cGxpY2l0bHkgaXRzIG1l YW5pbmcuDQo+ID4NCj4gPiBXZSBj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