Message ID | 1587902856-443267-1-git-send-email-matan@mellanox.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 8134EA00C5; Sun, 26 Apr 2020 14:07:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3D1341BF81; Sun, 26 Apr 2020 14:07:49 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 72EEB1BF7C for <dev@dpdk.org>; Sun, 26 Apr 2020 14:07:47 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from matan@mellanox.com) with ESMTPS (AES256-SHA encrypted); 26 Apr 2020 15:07:46 +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 03QC7krA016256; Sun, 26 Apr 2020 15:07:46 +0300 From: Matan Azrad <matan@mellanox.com> To: dev@dpdk.org Cc: Viacheslav Ovsiienko <viacheslavo@mellanox.com>, Shahaf Shuler <shahafs@mellanox.com>, Maxime Coquelin <maxime.coquelin@redhat.com> Date: Sun, 26 Apr 2020 12:07:33 +0000 Message-Id: <1587902856-443267-1-git-send-email-matan@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1585653143-21987-1-git-send-email-matan@mellanox.com> References: <1585653143-21987-1-git-send-email-matan@mellanox.com> Subject: [dpdk-dev] [PATCH 0/3] vdpa/mlx5: recreate a virtq becoming enabled 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> |
Series |
vdpa/mlx5: recreate a virtq becoming enabled
|
|
Message
Matan Azrad
April 26, 2020, 12:07 p.m. UTC
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. v2: 1. Address Maxime comments: - returning -1 for out of range error. - commit massage spelling. 2. rebase. Matan Azrad (3): vdpa/mlx5: manage virtqs by array vdpa/mlx5: separate virtq stop vdpa/mlx5: recreate 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(-)
Comments
On 4/26/20 2:07 PM, Matan Azrad wrote: > 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. > > v2: > 1. Address Maxime comments: > - returning -1 for out of range error. > - commit massage spelling. > 2. rebase. > > Matan Azrad (3): > vdpa/mlx5: manage virtqs by array > vdpa/mlx5: separate virtq stop > vdpa/mlx5: recreate 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(-) > Applied to dpdk-next-virtio/master Thanks, Maxime