From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 30F49A0562; Tue, 31 Mar 2020 13:12:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 789E12BCE; Tue, 31 Mar 2020 13:12:35 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id B0BAA3B5 for ; Tue, 31 Mar 2020 13:12:34 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE2 (envelope-from matan@mellanox.com) with ESMTPS (AES256-SHA encrypted); 31 Mar 2020 14:12:32 +0300 Received: from pegasus07.mtr.labs.mlnx (pegasus07.mtr.labs.mlnx [10.210.16.112]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 02VBCWIG019432; Tue, 31 Mar 2020 14:12:32 +0300 From: Matan Azrad To: dev@dpdk.org Cc: Viacheslav Ovsiienko , Shahaf Shuler , Maxime Coquelin Date: Tue, 31 Mar 2020 11:12:20 +0000 Message-Id: <1585653143-21987-1-git-send-email-matan@mellanox.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH 0/3] vdpa/mlx5: recteate a virtq becoming enabled 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" Since a virtq configuration may be changed in disable state it is better to recreate a virtq becoming enabled. This series adding this behaviour to the mlx5 driver for vDPA. Matan Azrad (3): vdpa/mlx5: manage virtqs by array vdpa/mlx5: separate virtq stop vdpa/mlx5: recteate a virtq becoming enabled drivers/vdpa/mlx5/mlx5_vdpa.c | 47 +++++++-------- drivers/vdpa/mlx5/mlx5_vdpa.h | 54 +++++++++++++++-- drivers/vdpa/mlx5/mlx5_vdpa_lm.c | 57 ++++++++---------- drivers/vdpa/mlx5/mlx5_vdpa_steer.c | 103 ++++++++++++++++---------------- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 113 +++++++++++++++++++++++++++--------- 5 files changed, 231 insertions(+), 143 deletions(-) -- 1.8.3.1