Message ID | 1585653143-21987-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 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 <dev@dpdk.org>; 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 <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: 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 <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: recteate a virtq becoming enabled
|
|
Message
Matan Azrad
March 31, 2020, 11:12 a.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. 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(-)
Comments
Hi Matan, On 3/31/20 1:12 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. > > 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(-) > I wanted to apply your series, but it fails to apply: $ git am -3 vdpa-mlx5-recteate-a-virtq-becoming-enabled.patch Applying: vdpa/mlx5: manage virtqs by array error: sha1 information is lacking or useless (drivers/vdpa/mlx5/mlx5_vdpa.c). error: could not build fake ancestor Patch failed at 0001 vdpa/mlx5: manage virtqs by array hint: Use 'git am --show-current-patch' to see the failed patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". Could you please rebase it on top of dpdk-next-virtio/master? While doing that, if you could take fix the minor issues/typos I * reported, that would be great! Thanks, Maxime