From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 6A4342901 for ; Thu, 18 May 2017 13:23:47 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 May 2017 04:23:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,358,1491289200"; d="scan'208";a="1132028699" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by orsmga001.jf.intel.com with ESMTP; 18 May 2017 04:23:45 -0700 Received: from irsmsx109.ger.corp.intel.com ([169.254.13.12]) by IRSMSX102.ger.corp.intel.com ([169.254.2.153]) with mapi id 14.03.0319.002; Thu, 18 May 2017 12:23:45 +0100 From: "Burakov, Anatoly" To: "Wodkowski, PawelX" , "dev@dpdk.org" CC: "Wodkowski, PawelX" Thread-Topic: [dpdk-dev] [RFC][PATCH] vfio: allow to map other memory regions Thread-Index: AQHSzv1MY88EdWpmgUSfZANoJv6F0qH584Cw Date: Thu, 18 May 2017 11:23:43 +0000 Message-ID: References: <1495032287-216322-1-git-send-email-pawelx.wodkowski@intel.com> In-Reply-To: <1495032287-216322-1-git-send-email-pawelx.wodkowski@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjg0Yjk3YTYtNzUwZS00YzcyLWE4ZmQtYjA5OTRmYTAxYWNkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6ImxpeXBBdmZBUEdZM3orS2M4QTFsc1JGUlQyTEg3ZFZZQWlVR3Y3TFNTY1E9In0= dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [RFC][PATCH] vfio: allow to map other memory regions 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: , X-List-Received-Date: Thu, 18 May 2017 11:23:47 -0000 > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Pawel Wodkowski > Sent: Wednesday, May 17, 2017 3:45 PM > To: dev@dpdk.org > Cc: Wodkowski, PawelX > Subject: [dpdk-dev] [RFC][PATCH] vfio: allow to map other memory regions >=20 > Currently it is not possible to use memory that is not owned by DPDK to > perform DMA. This scenarion might be used in vhost applications (like > SPDK) where guest send its own memory table. To fill this gap provide > API to allow registering arbitrary address in VFIO container. >=20 > Signed-off-by: Pawel Wodkowski > --- Seems to make sense to me. Presumably, such locally mapped memory would not= work in multiprocess, so, obvious as it may be, this should probably be documented. Thanks, Anatoly