From patchwork Thu Jun 25 13:38:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matan Azrad X-Patchwork-Id: 72187 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A2DAAA0350; Thu, 25 Jun 2020 15:38:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 01DEE29CB; Thu, 25 Jun 2020 15:38:24 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 60E652AB for ; Thu, 25 Jun 2020 15:38:22 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from matan@mellanox.com) with SMTP; 25 Jun 2020 16:38:20 +0300 Received: from pegasus25.mtr.labs.mlnx. (pegasus25.mtr.labs.mlnx [10.210.16.10]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 05PDcK3u009858; Thu, 25 Jun 2020 16:38:20 +0300 From: Matan Azrad To: Maxime Coquelin Cc: dev@dpdk.org, Xiao Wang Date: Thu, 25 Jun 2020 13:38:13 +0000 Message-Id: <1593092298-52257-1-git-send-email-matan@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1592497686-433697-1-git-send-email-matan@mellanox.com> References: <1592497686-433697-1-git-send-email-matan@mellanox.com> Subject: [dpdk-dev] [PATCH v2 0/5] vhost: improve ready state 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" Due to the issue described in "vhost: improve device ready definition" patch here, we need to change the ready state definition in vhost device. To support the suggestion improvement there is update for the host notifier control API. Also need to skip access lock when vDPA device is configured. Add also support for configuration change when the device is ready. Matan Azrad (5): vhost: skip access lock when vDPA is configured vhost: improve device readiness notifications vhost: handle memory hotplug with vDPA devices vhost: notify virtq file descriptor update vdpa/mlx5: support queue update drivers/vdpa/mlx5/mlx5_vdpa.c | 26 ------------ drivers/vdpa/mlx5/mlx5_vdpa.h | 8 +++- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 80 +++++++++++++++++++++++++----------- lib/librte_vhost/vhost.h | 1 + lib/librte_vhost/vhost_user.c | 81 ++++++++++++++++++++++++++++--------- 5 files changed, 126 insertions(+), 70 deletions(-)