From patchwork Fri Apr 5 01:33:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yongseok Koh X-Patchwork-Id: 52314 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 D75661B3EA; Fri, 5 Apr 2019 03:34:08 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 8BE531B3D8 for ; Fri, 5 Apr 2019 03:34:06 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yskoh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 5 Apr 2019 04:34:04 +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 x351Y2kS018492; Fri, 5 Apr 2019 04:34:03 +0300 From: Yongseok Koh To: shahafs@mellanox.com Cc: dev@dpdk.org Date: Thu, 4 Apr 2019 18:33:53 -0700 Message-Id: <20190405013357.14503-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 v3 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. v3: * move UAR table to per-process storage v2: * rebase on the latest branch tip * fix a bug 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 | 232 +++++++------------------------------ 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 | 198 ++++--------------------------- drivers/net/mlx5/mlx5.h | 16 ++- drivers/net/mlx5/mlx5_ethdev.c | 17 +++ 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, 378 insertions(+), 570 deletions(-)