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 88E4FA0524; Thu, 30 Jan 2020 21:19:03 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 686D81BFFC; Thu, 30 Jan 2020 21:19:03 +0100 (CET) Received: from out.exch021.serverdata.net (out.exch021.serverdata.net [64.78.40.179]) by dpdk.org (Postfix) with ESMTP id 031932B89 for ; Thu, 30 Jan 2020 21:19:01 +0100 (CET) Received: from MBX021-W6-CA-2.exch021.domain.local (10.254.4.150) by MBX021-W6-CA-2.exch021.domain.local (10.254.4.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P521) id 15.1.1913.5; Thu, 30 Jan 2020 12:19:00 -0800 Received: from MBX021-W6-CA-2.exch021.domain.local ([10.254.4.150]) by MBX021-W6-CA-2.exch021.domain.local ([10.254.4.150]) with mapi id 15.01.1913.005; Thu, 30 Jan 2020 12:19:00 -0800 From: Scott Wasson To: "dev@dpdk.org" Thread-Topic: IOVA_CONTIG flag needed in kni initialization Thread-Index: AQHV16qChlUqdViJUEWBud89SVlSQw== Date: Thu, 30 Jan 2020 20:19:00 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [50.203.66.100] Content-Type: text/plain; charset="utf-8" Content-ID: <2AB8AF84C3756443BCA64D49E3EA3E87@exch021.domain.local> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: [dpdk-dev] IOVA_CONTIG flag needed in kni initialization 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" SGksDQrCoA0KV2XigJlyZSBzZWVpbmcgYW4gaXN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