[v4,0/4] net/mlx: remove device register remap
Message ID | 20190409231324.35715-1-yskoh@mellanox.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 5AC63568A; Wed, 10 Apr 2019 01:13:31 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id D91135689 for <dev@dpdk.org>; Wed, 10 Apr 2019 01:13:29 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yskoh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 10 Apr 2019 02:13:27 +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 x39NDP5Y004967; Wed, 10 Apr 2019 02:13:26 +0300 From: Yongseok Koh <yskoh@mellanox.com> To: shahafs@mellanox.com Cc: dev@dpdk.org Date: Tue, 9 Apr 2019 16:13:20 -0700 Message-Id: <20190409231324.35715-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 v4 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Yongseok Koh
April 9, 2019, 11:13 p.m. UTC
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. 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 | 15 ++- 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_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 | 199 +++++++++++++++++------------ drivers/net/mlx5/mlx5_vlan.c | 3 +- 18 files changed, 413 insertions(+), 575 deletions(-)