From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by dpdk.space (Postfix) with ESMTP id 3AE13A0679
	for <public@inbox.dpdk.org>; Mon,  1 Apr 2019 23:13:26 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 14A964C99;
	Mon,  1 Apr 2019 23:13:12 +0200 (CEST)
Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])
 by dpdk.org (Postfix) with ESMTP id 1AFE4378B
 for <dev@dpdk.org>; Mon,  1 Apr 2019 23:13:06 +0200 (CEST)
Received: from Internal Mail-Server by MTLPINE1 (envelope-from
 yskoh@mellanox.com)
 with ESMTPS (AES256-SHA encrypted); 2 Apr 2019 00:13:01 +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 x31LCxh4022541;
 Tue, 2 Apr 2019 00:13:00 +0300
From: Yongseok Koh <yskoh@mellanox.com>
To: shahafs@mellanox.com
Cc: dev@dpdk.org
Date: Mon,  1 Apr 2019 14:12:52 -0700
Message-Id: <20190401211256.25930-1-yskoh@mellanox.com>
X-Mailer: git-send-email 2.11.0
In-Reply-To: <20190307073314.18324-1-yskoh@mellanox.com>
References: <20190307073314.18324-1-yskoh@mellanox.com>
Subject: [dpdk-dev] [PATCH v3 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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <20190401211252.akhuJpd1nP5c7-MSKaTHC0hALGTF1Ak9x0BH-E61CZE@z>

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.

v3:
* rebase on the latest branch tip

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 (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         | 255 ++++++++++++++++++++++++---------
 drivers/net/mlx5/mlx5.h         |  52 +++++--
 drivers/net/mlx5/mlx5_ethdev.c  |  34 -----
 drivers/net/mlx5/mlx5_mp.c      | 308 ++++++++++++++++++++++++++++++++++++++++
 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, 552 insertions(+), 423 deletions(-)
 create mode 100644 drivers/net/mlx5/mlx5_mp.c
 delete mode 100644 drivers/net/mlx5/mlx5_socket.c

-- 
2.11.0