From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 53340A0096 for ; Sun, 7 Apr 2019 07:02:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B57962BC9; Sun, 7 Apr 2019 07:02:46 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 0672E2BC9 for ; Sun, 7 Apr 2019 07:02:43 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from shahafs@mellanox.com) with ESMTPS (AES256-SHA encrypted); 7 Apr 2019 08:02:36 +0300 Received: from unicorn01.mtl.labs.mlnx. (unicorn01.mtl.labs.mlnx [10.7.12.62]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x3752Zb0016030; Sun, 7 Apr 2019 08:02:35 +0300 From: Shahaf Shuler To: wenzhuo.lu@intel.com, jingjing.wu@intel.com, bernard.iremonger@intel.com Cc: dev@dpdk.org, rasland@mellanox.com, thomas@monjalon.net, ferruh.yigit@intel.com Date: Sun, 7 Apr 2019 08:02:23 +0300 Message-Id: X-Mailer: git-send-email 2.12.0 In-Reply-To: References: Subject: [dpdk-dev] [PATCH v4 0/3] DMA map anonymous memory to eth devices 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" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190407050223.QgJQFhvc1BeNufVtmvsQ8zl0vHwBju_B2ba5FZy0HbU@z> Small series to use the APIs introduced by commit c33a675b6276 ("bus: introduce device level DMA memory mapping") On v4: * simplify return logic from mbuf_pool_create. * remove extern from mempools structure. On v3: * remove redundant return. On v2: * enforcing parameter validity at option parse time. * precede unmap to be before unregister. * extended debug log verbosity to include eth device name. * precede unmap and unregister to happen before eth devices are detached. Shahaf Shuler (3): app/testpmd: fix mempool free on exit app/testpmd: support creation of no IOVA contig mempools app/testpmd: map anonymous memory for eth devices app/test-pmd/parameters.c | 13 +++++ app/test-pmd/testpmd.c | 91 +++++++++++++++++++++++++++--- app/test-pmd/testpmd.h | 2 + doc/guides/testpmd_app_ug/run_app.rst | 5 ++ 4 files changed, 104 insertions(+), 7 deletions(-) -- 2.12.0