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 4F1672C39 for ; Thu, 7 Mar 2019 08:33:28 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yskoh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 7 Mar 2019 09:33:24 +0200 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 x277XM3l028582; Thu, 7 Mar 2019 09:33:23 +0200 From: Yongseok Koh To: shahafs@mellanox.com Cc: dev@dpdk.org Date: Wed, 6 Mar 2019 23:33:10 -0800 Message-Id: <20190307073314.18324-1-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH 0/4] net/mlx5: rework IPC socket and PMD global data init 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: Thu, 07 Mar 2019 07:33:28 -0000 The existing socket-based IPC channel is replaced with the new rte_mp APIs of EAL and extended to request stop/start of dataplane to secondary processes. Also, initialization of PMD global data including the new IPC channel is reworked to provide more generic framework for future use. Yongseok Koh (4): net/mlx5: fix memory event on secondary process net/mlx5: replace IPC socket with EAL API net/mlx5: rework PMD global data init net/mlx5: sync stop/start of datapath with secondary process drivers/net/mlx5/Makefile | 2 +- drivers/net/mlx5/meson.build | 2 +- drivers/net/mlx5/mlx5.c | 257 ++++++++++++++++++++++++--------- drivers/net/mlx5/mlx5.h | 49 +++++-- drivers/net/mlx5/mlx5_ethdev.c | 29 ---- drivers/net/mlx5/mlx5_mp.c | 283 +++++++++++++++++++++++++++++++++++++ drivers/net/mlx5/mlx5_mr.c | 2 + drivers/net/mlx5/mlx5_rxtx.c | 2 + drivers/net/mlx5/mlx5_socket.c | 306 ---------------------------------------- drivers/net/mlx5/mlx5_trigger.c | 5 + drivers/net/mlx5/mlx5_txq.c | 7 +- 11 files changed, 524 insertions(+), 420 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_mp.c delete mode 100644 drivers/net/mlx5/mlx5_socket.c -- 2.11.0