From patchwork Thu Apr 4 19:34:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shahaf Shuler X-Patchwork-Id: 52311 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 1CEC71B3BB; Thu, 4 Apr 2019 21:35:28 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 27D9B5F29 for ; Thu, 4 Apr 2019 21:35:14 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from shahafs@mellanox.com) with ESMTPS (AES256-SHA encrypted); 4 Apr 2019 22:35:10 +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 x34JZAbw020316; Thu, 4 Apr 2019 22:35:10 +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: Thu, 4 Apr 2019 22:34:57 +0300 Message-Id: X-Mailer: git-send-email 2.12.0 In-Reply-To: References: Subject: [dpdk-dev] [PATCH v3 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 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 | 92 +++++++++++++++++++++++++++--- app/test-pmd/testpmd.h | 4 ++ doc/guides/testpmd_app_ug/run_app.rst | 5 ++ 4 files changed, 107 insertions(+), 7 deletions(-)