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 B113E1B19C for ; Mon, 18 Sep 2017 16:40:35 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from xuemingl@mellanox.com) with ESMTPS (AES256-SHA encrypted); 18 Sep 2017 17:40:30 +0300 Received: from dev-r630-06.mtbc.labs.mlnx (dev-r630-06.mtbc.labs.mlnx [10.12.205.180]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id v8IEeRin015498; Mon, 18 Sep 2017 17:40:29 +0300 Received: from dev-r630-06.mtbc.labs.mlnx (localhost [127.0.0.1]) by dev-r630-06.mtbc.labs.mlnx (8.14.7/8.14.7) with ESMTP id v8IEaVa9177474; Mon, 18 Sep 2017 22:36:31 +0800 Received: (from xuemingl@localhost) by dev-r630-06.mtbc.labs.mlnx (8.14.7/8.14.7/Submit) id v8IEaQhK177472; Mon, 18 Sep 2017 22:36:26 +0800 From: Xueming Li To: Nelio Laranjeiro , Adrien Mazarguil Cc: Xueming Li , dev@dpdk.org Date: Mon, 18 Sep 2017 22:36:13 +0800 Message-Id: <20170918143619.177422-1-xuemingl@mellanox.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170824140341.95471-1-xuemingl@mellanox.com> References: <20170824140341.95471-1-xuemingl@mellanox.com> Subject: [dpdk-dev] [PATCH v3 0/6] 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: Mon, 18 Sep 2017 14:40:36 -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 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 (6): 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: remove verbs fork check 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 | 3 +- drivers/net/mlx5/Makefile | 1 + drivers/net/mlx5/mlx5.c | 112 +++++++++++++-- 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, 561 insertions(+), 50 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_socket.c -- 1.8.3.1