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 AA74A1B1B1 for ; Tue, 19 Sep 2017 16:32:15 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from xuemingl@mellanox.com) with ESMTPS (AES256-SHA encrypted); 19 Sep 2017 17:32:14 +0300 Received: from dev-r630-05.mtbc.labs.mlnx (dev-r630-05.mtbc.labs.mlnx [10.12.205.160]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id v8JEWDZr012809; Tue, 19 Sep 2017 17:32:14 +0300 Received: from dev-r630-05.mtbc.labs.mlnx (localhost [127.0.0.1]) by dev-r630-05.mtbc.labs.mlnx (8.14.7/8.14.7) with ESMTP id v8JEWB2Z127302; Tue, 19 Sep 2017 22:32:11 +0800 Received: (from xuemingl@localhost) by dev-r630-05.mtbc.labs.mlnx (8.14.7/8.14.7/Submit) id v8JEWAWT127299; Tue, 19 Sep 2017 22:32:10 +0800 From: Xueming Li To: Nelio Laranjeiro , Adrien Mazarguil Cc: Xueming Li , dev@dpdk.org Date: Tue, 19 Sep 2017 22:31:47 +0800 Message-Id: <1505831512-127244-1-git-send-email-xuemingl@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <20170824140341.95471-1-xuemingl@mellanox.com> References: <20170824140341.95471-1-xuemingl@mellanox.com> Subject: [dpdk-dev] [PATCH v4 0/5] net/mlx5 multi-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: Tue, 19 Sep 2017 14:32:16 -0000 This patchset enhances Mellanox multi-process by supporting all multi-process examples, also support reading ethdev (x)stats in secondary process. Start from V2, this patchset depends on upstream rdma-core enhancement and l2fork example bug fix: http://www.dpdk.org/ml/archives/dev/2017-August/073405.html http://www.dpdk.org/ml/archives/dev/2017-September/075568.html V4: * remove forked secondary mode V3: * add cover letter * add dependency notes V2: * split into multiple patches * support forked secondary process * add secondary process ethdev operations * rebase on latest rdma-core upstream api Xueming Li (5): net/mlx5: change eth device reference for secondary process net/mlx5: install a socket to exchange a file descriptor net/mlx5: allocate verbs object into shared memory net/mlx5: add operations for secondary process net/mlx5: multi-process document update doc/guides/nics/features/mlx5.ini | 1 + doc/guides/nics/mlx5.rst | 4 +- drivers/net/mlx5/Makefile | 1 + drivers/net/mlx5/mlx5.c | 104 ++++++++++++++ drivers/net/mlx5/mlx5.h | 16 ++- drivers/net/mlx5/mlx5_ethdev.c | 108 +++++++++----- drivers/net/mlx5/mlx5_fdir.c | 2 + drivers/net/mlx5/mlx5_rss.c | 1 + drivers/net/mlx5/mlx5_rxq.c | 1 + drivers/net/mlx5/mlx5_rxtx.h | 2 + drivers/net/mlx5/mlx5_socket.c | 294 ++++++++++++++++++++++++++++++++++++++ drivers/net/mlx5/mlx5_trigger.c | 4 +- drivers/net/mlx5/mlx5_txq.c | 66 +++++++++ 13 files changed, 562 insertions(+), 42 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_socket.c -- 1.8.3.1