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 30FCDA00E6 for ; Tue, 9 Jul 2019 14:11:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AFD0D1B955; Tue, 9 Jul 2019 14:11:35 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 915884C94 for ; Tue, 9 Jul 2019 14:11:34 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x69C0DHn004735; Tue, 9 Jul 2019 05:11:33 -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=bWZrr2ccmSqKsqqpVd8v5WxTiPvOxqrZ0f6qLsmlFIU=; b=CL+03VY/LgXynqK9uMKjkGkenCm3LwG8iRqaHp9KpWjt/3n2k+RJ1S/9DBWKjFmgbBWH CiVxCmVSfHDr12W/QGaNlvDtgJssWdwy0B75XLPbXfBoKyUi3Xc/8RXDapqDLx90Azkj gcZ9lMgPh3cvbVU3FN0yk/YLhSGZBCRO6KKEZ46mG8YjFxNuhbl9neS1b6xGIteUvhWw Xf0CvUqCp8HBKkzkNmQOp7x+AVqvyGVjRok1i2DhDKR2EGYwBHhrk8camsh1+9yT4Azk Voc2LBo273W1//s6UG5NlwXAXmlxWy0SMiA8S1znSvDneVlXzwBmhJlPlzoal9lyXN+U wg== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 2tmn10h5s8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 09 Jul 2019 05:11:33 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 9 Jul 2019 05:11:31 -0700 Received: from NAM01-BN3-obe.outbound.protection.outlook.com (104.47.33.50) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Tue, 9 Jul 2019 05:11:31 -0700 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=bWZrr2ccmSqKsqqpVd8v5WxTiPvOxqrZ0f6qLsmlFIU=; b=wSzLfWZNACSvdKaShN/DdAC0K47mwDQiH38dgoYCyeP7XbqYC8rBtov9PiLA/rj4PeD+CWvuToRXRDzlQlzuXDAUQNgLoFpNfs1QywAqVO7TRdRWpFeG4P3GuBIVATD5ne786R8EKTxHkkP4H0wou3j5ZhJ2VaE2STHmZY8ke88= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2629.namprd18.prod.outlook.com (20.179.93.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.18; Tue, 9 Jul 2019 12:11: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.2052.020; Tue, 9 Jul 2019 12:11:26 +0000 From: Jerin Jacob Kollanukkaran To: "Burakov, Anatoly" , David Marchand CC: dev , Thomas Monjalon , Ben Walker Thread-Topic: [EXT] Re: [dpdk-dev] [PATCH] bus/pci: fix IOVA as VA mode selection Thread-Index: AQHVNZjhKCgNV8u1jkap7TUrzrcEwqbBDcAAgAAE4qCAAPgBgIAAFxWQgAAJQYCAAAKmUA== Date: Tue, 9 Jul 2019 12:11:26 +0000 Message-ID: References: <20190708142450.51597-1-jerinj@marvell.com> <0947c33d-b3be-1acc-f98e-3635cc5658d2@intel.com> In-Reply-To: <0947c33d-b3be-1acc-f98e-3635cc5658d2@intel.com> 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: 96f188b9-eb5f-42ad-3930-08d704669135 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2629; x-ms-traffictypediagnostic: BYAPR18MB2629: x-ms-exchange-purlcount: 4 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 0093C80C01 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(346002)(376002)(39860400002)(396003)(136003)(189003)(199004)(13464003)(8676002)(305945005)(81166006)(6306002)(5660300002)(9686003)(256004)(8936002)(7736002)(14444005)(74316002)(81156014)(478600001)(966005)(110136005)(71190400001)(3846002)(33656002)(54906003)(53936002)(6116002)(76176011)(316002)(66446008)(446003)(7696005)(102836004)(68736007)(66476007)(66556008)(66946007)(53546011)(99286004)(76116006)(2906002)(186003)(11346002)(6436002)(4326008)(229853002)(26005)(86362001)(66066001)(476003)(71200400001)(6246003)(55016002)(52536014)(25786009)(14454004)(73956011)(486006)(64756008)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2629; 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: wIo3MM530UOMWikbned95JwhVZSnOT6WLGsa+h9zjYei2MVtrTiwEjpP/x+gk0DZaxsuhFW+2O+nVTRrpWV+raSH99zEGice/0KdI/OdS6/JZPK6cNtLeFzd++v8mUdY3sw1Kkd5ElnbdxKdqyMqBF/s30BFSD/3J+AOH6dbU/nbFVxnjVuMo86gNpUfLoEibRCXCX4bzn+qxOLVorNFdThKnOZNB2MVKfVYFl5MEY1BZa3mPcZaauZR6Avu/EJVHF0qLDs4mZ7eRnzLrv2kZgClUbTIxxvUjh339Z4AFcN7NRnuPzqKwAUElfboPfs69JJtGF4BGlxIItTCsqQz2+xPHfAT0QtGSDASU83SGaZLt1Usnv3XjJ2h/Y1fOOQNKWTRrx/MKqLQsnOs+NCh4Cy3dsZdAZyZrxI8o1Yo3d0= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 96f188b9-eb5f-42ad-3930-08d704669135 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2019 12:11:26.4164 (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: BYAPR18MB2629 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-09_04:, , signatures=0 Subject: Re: [dpdk-dev] [EXT] Re: [PATCH] bus/pci: fix IOVA as VA mode selection 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBCdX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