From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f196.google.com (mail-qk0-f196.google.com [209.85.220.196]) by dpdk.org (Postfix) with ESMTP id 43B4CD018 for ; Fri, 27 Apr 2018 19:09:56 +0200 (CEST) Received: by mail-qk0-f196.google.com with SMTP id h19so1940812qkj.10 for ; Fri, 27 Apr 2018 10:09:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=BImBjYSw+MK1mQ7GuD7WTq4n/KiQAdybm2Mflf+lh5A=; b=S5qT1B/K0SzmM1Lpa5lS8nemlxqVCsbWXUEEuWQV/RXJ4EcNv8D1ithlUR0rLNyVLH pMTB2/yL3bRFnP+uZt9vjBo89nYBpoYW4n5T2kT958cF6UYsPSBzq6tD4SCfXlSzgmWO Z8vplQRZQoTXctSX5DQ6cnOQL2uoiIQQHWxos= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=BImBjYSw+MK1mQ7GuD7WTq4n/KiQAdybm2Mflf+lh5A=; b=lLzHtL4rAV1Rgckbdhw2/hSHaz37zSmDfbkD7JjoXx7XvffE8T8w+SZsFTJWHiz5Ek bu7we3g4HLw+d7Yw6DM81mTiuWJ3zeBZ84A+SGjuorZBqAxi2cFDP3Gqv9/GoJ76hybB P4WBJN6tQ/BlkryPk2BvYcjd/1TebR5gnCf05VZvq/KBTKMxrzQaYPpHbRY6ZILxBa/s PEOzOLLXjwb6MLHBCuhqYQRLeXFY6zenHhw8DYO/xGFPoGai7jLCcQ/Xuyuk8x/EmFro 143nZGkPIPaTdhqq5bqKUctBSLCKmKcpgo5HE2fMR65A1/LwH3WWkfDpc0P9B7w1otkP vfZw== X-Gm-Message-State: ALQs6tD4toE/rlHbu41qx3E98mptednmi9Sri6U++EfHS/ZPtDn21NMN EXn/AUITzHrGPuRRC8akLqLfj+aljI8= X-Google-Smtp-Source: AB8JxZpGTX65UjW0wGAt6vuAv2BRz0RubhOObhbPvmRtyHvRaoEOP6SZ5AYHMZQqbXVY2D0O73s3jw== X-Received: by 10.55.20.36 with SMTP id e36mr2472094qkh.315.1524848995388; Fri, 27 Apr 2018 10:09:55 -0700 (PDT) Received: from [10.136.13.65] ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id j1-v6sm1373785qtc.53.2018.04.27.10.09.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Apr 2018 10:09:54 -0700 (PDT) To: "Burakov, Anatoly" , Srinath Mannam Cc: Ajit Khaparde , dev@dpdk.org References: <20180328045120.40098-1-ajit.khaparde@broadcom.com> <76474922-b2ad-dfcd-d62b-f605ec47d2e6@intel.com> From: Scott Branden Message-ID: <2d811eaa-a434-a923-abc8-25b9f450be9f@broadcom.com> Date: Fri, 27 Apr 2018 10:09:49 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <76474922-b2ad-dfcd-d62b-f605ec47d2e6@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH] eal: add request to map reserved physical memory 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: Fri, 27 Apr 2018 17:09:56 -0000 On 18-04-27 09:49 AM, Burakov, Anatoly wrote: > On 27-Apr-18 5:30 PM, Scott Branden wrote: >> Hi Anatoly, >> >> We'd appreciate your input so we can come to a solution of supporting >> the necessary memory allocations? >> > > Hi Scott, > > I'm currently starting to work on a prototype that will be at least > RFC'd (if not v1'd) during 18.08 timeframe. Basically, the idea is to > create/destroy named malloc heaps dynamically, and allow user to > request memory from them. You may then mmap() whatever you want and > create a malloc heap out of it. > > Does that sound reasonable? Hi Anatoly, We have a solution right now that requires a kernel driver to allocate large contiguous memory and the DPDK changes in the patch. We would like to come to a common upstreamed solution as soon as possible.  So please send out the patch as soon as you can and we can test/comment on it.  I would hope this is a simple addition and shouldn't take long to come to an acceptable implementation.  We need this change for DPDK to operate on our devices. Thanks,  Scott