From patchwork Wed Apr 10 18:41:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yongseok Koh X-Patchwork-Id: 52626 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 BE74D1B3FD; Wed, 10 Apr 2019 20:41:25 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 0FC791B3EC for ; Wed, 10 Apr 2019 20:41:23 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yskoh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 10 Apr 2019 21:41:22 +0300 Received: from scfae-sc-2.mti.labs.mlnx (scfae-sc-2.mti.labs.mlnx [10.101.0.96]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x3AIfKx0002770; Wed, 10 Apr 2019 21:41:21 +0300 From: Yongseok Koh To: shahafs@mellanox.com Cc: dev@dpdk.org Date: Wed, 10 Apr 2019 11:41:14 -0700 Message-Id: <20190410184118.39727-1-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190325193627.19726-1-yskoh@mellanox.com> References: <20190325193627.19726-1-yskoh@mellanox.com> Subject: [dpdk-dev] [PATCH v5 0/4] net/mlx: remove device register remap 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" This patchset lifts the requirement of reserving huge virtual address space and remapping device UAR register on to it in order to use the same address between primary and secondary process. v5: * fix 32-bit build issue * remove MLX[4|5]_UAR_SIZE and MLX[4|5]_UAR_OFFSET v4: * add mlx4_proc_priv_[init|uninit]() to avoid duplicate code * remove the number of Rx queues from the ppriv size calculation * move freeing ppriv to mlx4_dev_close() from mlx4_dev_stop() * rebase on top of "net/mlx4: fix Tx doorbell register unmap" [1] v3: * move UAR table to per-process storage v2: * rebase on the latest branch tip * fix a bug [1] http://patches.dpdk.org/patch/52435/ Yongseok Koh (4): net/mlx5: fix recursive inclusion of header file net/mlx5: remove redundant queue index net/mlx5: remove device register remap net/mlx4: remove device register remap drivers/net/mlx4/mlx4.c | 255 +++++++++---------------------------- drivers/net/mlx4/mlx4.h | 25 ++-- drivers/net/mlx4/mlx4_prm.h | 3 +- drivers/net/mlx4/mlx4_rxtx.c | 2 +- drivers/net/mlx4/mlx4_rxtx.h | 6 +- drivers/net/mlx4/mlx4_txq.c | 170 +++++++++++++++---------- drivers/net/mlx5/mlx5.c | 228 ++++++++------------------------- drivers/net/mlx5/mlx5.h | 17 ++- drivers/net/mlx5/mlx5_defs.h | 10 -- drivers/net/mlx5/mlx5_ethdev.c | 3 + drivers/net/mlx5/mlx5_flow.c | 5 +- drivers/net/mlx5/mlx5_flow_dv.c | 4 +- drivers/net/mlx5/mlx5_flow_verbs.c | 5 +- drivers/net/mlx5/mlx5_rxq.c | 29 ++--- drivers/net/mlx5/mlx5_rxtx.h | 21 +-- drivers/net/mlx5/mlx5_stats.c | 15 +-- drivers/net/mlx5/mlx5_trigger.c | 8 +- drivers/net/mlx5/mlx5_txq.c | 200 +++++++++++++++++------------ drivers/net/mlx5/mlx5_vlan.c | 3 +- 19 files changed, 414 insertions(+), 595 deletions(-)