From patchwork Sun Apr 7 05:02:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahaf Shuler X-Patchwork-Id: 52372 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org 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" 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(-)