From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id E59F54CAB for ; Mon, 1 Apr 2019 23:16:00 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yskoh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 2 Apr 2019 00:15:56 +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 x31LFsP4031305; Tue, 2 Apr 2019 00:15:55 +0300 From: Yongseok Koh To: shahafs@mellanox.com Cc: dev@dpdk.org Date: Mon, 1 Apr 2019 14:15:50 -0700 Message-Id: <20190401211553.26063-1-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190307073905.18615-1-yskoh@mellanox.com> References: <20190307073905.18615-1-yskoh@mellanox.com> Subject: [dpdk-dev] [PATCH v3 0/3] net/mlx4: add secondary process support 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: , X-List-Received-Date: Mon, 01 Apr 2019 21:16:01 -0000 RFC: https://mails.dpdk.org/archives/dev/2019-March/125516.html v3: * rebase on the latest branch tip * remove HAVE_IBV_MLX4_SECONDARY_PROCESS and make it determined in run-time v2: * add more sanity check for eth_dev and return value from IPC request * complement commit messages * add MLX5_MP_REQ_TIMEOUT_SEC Yongseok Koh (3): net/mlx4: change device reference for secondary process net/mlx4: add external allocator for Verbs object net/mlx4: add secondary process support doc/guides/nics/features/mlx4.ini | 1 + doc/guides/nics/mlx4.rst | 10 + drivers/net/mlx4/Makefile | 11 + drivers/net/mlx4/meson.build | 13 ++ drivers/net/mlx4/mlx4.c | 453 ++++++++++++++++++++++++++++++++++++-- drivers/net/mlx4/mlx4.h | 86 +++++++- drivers/net/mlx4/mlx4_flow.c | 39 ++-- drivers/net/mlx4/mlx4_intr.c | 20 +- drivers/net/mlx4/mlx4_mp.c | 304 +++++++++++++++++++++++++ drivers/net/mlx4/mlx4_mr.c | 40 +++- drivers/net/mlx4/mlx4_prm.h | 4 +- drivers/net/mlx4/mlx4_rxq.c | 40 ++-- drivers/net/mlx4/mlx4_rxtx.c | 2 + drivers/net/mlx4/mlx4_rxtx.h | 1 + drivers/net/mlx4/mlx4_txq.c | 127 ++++++++++- 15 files changed, 1071 insertions(+), 80 deletions(-) create mode 100644 drivers/net/mlx4/mlx4_mp.c -- 2.11.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 3CE5FA0679 for ; Mon, 1 Apr 2019 23:16:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1275C5F14; Mon, 1 Apr 2019 23:16:04 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id E59F54CAB for ; Mon, 1 Apr 2019 23:16:00 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yskoh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 2 Apr 2019 00:15:56 +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 x31LFsP4031305; Tue, 2 Apr 2019 00:15:55 +0300 From: Yongseok Koh To: shahafs@mellanox.com Cc: dev@dpdk.org Date: Mon, 1 Apr 2019 14:15:50 -0700 Message-Id: <20190401211553.26063-1-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190307073905.18615-1-yskoh@mellanox.com> References: <20190307073905.18615-1-yskoh@mellanox.com> Subject: [dpdk-dev] [PATCH v3 0/3] net/mlx4: add secondary process support 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" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190401211550.RY2dthbJXQu0TyB6RdFR6gr9G1Ok5JxBNaxQPCNbqWU@z> RFC: https://mails.dpdk.org/archives/dev/2019-March/125516.html v3: * rebase on the latest branch tip * remove HAVE_IBV_MLX4_SECONDARY_PROCESS and make it determined in run-time v2: * add more sanity check for eth_dev and return value from IPC request * complement commit messages * add MLX5_MP_REQ_TIMEOUT_SEC Yongseok Koh (3): net/mlx4: change device reference for secondary process net/mlx4: add external allocator for Verbs object net/mlx4: add secondary process support doc/guides/nics/features/mlx4.ini | 1 + doc/guides/nics/mlx4.rst | 10 + drivers/net/mlx4/Makefile | 11 + drivers/net/mlx4/meson.build | 13 ++ drivers/net/mlx4/mlx4.c | 453 ++++++++++++++++++++++++++++++++++++-- drivers/net/mlx4/mlx4.h | 86 +++++++- drivers/net/mlx4/mlx4_flow.c | 39 ++-- drivers/net/mlx4/mlx4_intr.c | 20 +- drivers/net/mlx4/mlx4_mp.c | 304 +++++++++++++++++++++++++ drivers/net/mlx4/mlx4_mr.c | 40 +++- drivers/net/mlx4/mlx4_prm.h | 4 +- drivers/net/mlx4/mlx4_rxq.c | 40 ++-- drivers/net/mlx4/mlx4_rxtx.c | 2 + drivers/net/mlx4/mlx4_rxtx.h | 1 + drivers/net/mlx4/mlx4_txq.c | 127 ++++++++++- 15 files changed, 1071 insertions(+), 80 deletions(-) create mode 100644 drivers/net/mlx4/mlx4_mp.c -- 2.11.0