From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98E51C433FE for ; Tue, 10 May 2022 15:18:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233525AbiEJPWn (ORCPT ); Tue, 10 May 2022 11:22:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345647AbiEJPVE (ORCPT ); Tue, 10 May 2022 11:21:04 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4B4F83EAAC for ; Tue, 10 May 2022 08:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652194863; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZgUzPbN0afxln/UTR8mU8CnaJ4q6LZxgDDzZlA9fUdQ=; b=eSJZKTW2bwl7IwRwb5AsIk+0FTY9Oa6R/xZ91g+Nmi8dskJ9jNcRYSTg0hHKwSLW2Wq31W ISq/fbxwKILvflnLNIMGIRSB3grXxqNKBk0DTnax0gDaXY15qLFTllcWu2NpjEHv1uVTZ2 nsB2+LPA+jIGCIQaB7CfSx1NGtl0KgU= Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-630-c_p6b8VKNCuqzlgQHSring-1; Tue, 10 May 2022 11:01:02 -0400 X-MC-Unique: c_p6b8VKNCuqzlgQHSring-1 Received: by mail-io1-f69.google.com with SMTP id r17-20020a0566022b9100b00654b99e71dbso12035710iov.3 for ; Tue, 10 May 2022 08:01:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=ZgUzPbN0afxln/UTR8mU8CnaJ4q6LZxgDDzZlA9fUdQ=; b=zL1AyQzzi0mhIy+EMiPyYwlW3xVUR4kxIhshpTXe00SzJvh5myPcMEv6OXMYNbKhdn mUvPKxlZw6YLsJGmXhGTmngWdegtKxMRfUPEMBFyJquUJ1geah/Pk3sPw97UPCPx1NTI JxgUUVKy3O+EmaZKQ+p6KN90dbK5QbH0jaxRqafMDoEe//LFXAUgRjlW8F5tB6mG/tz5 sVPBUF5EpYq90aDLeD5Gk9lNxZKfG4w4Pi8elj8XxTq6x3vrEc/7SCdJNT0EGbDCBPOO 6JYOFiTeIRktBKQ+LyGpORYM9sIAKRwQTRMDnnIq4xuNznkUDGLYKHyIbu0ktDzxH3gT W8SQ== X-Gm-Message-State: AOAM533URJY5zg1AkevWL7qPe5tY+d0qAzBtV2Ozse+rzBPvVOmDpTzX RczrtjW/8XU5rb3kto2kgIjZxIljDEj/qsMD8fTsHOgN0Yv53W0ctiKfTKA0kHsARokZGx7X0Ya oi/01LYvs8ruSCaGm X-Received: by 2002:a05:6e02:1581:b0:2c2:5aef:db32 with SMTP id m1-20020a056e02158100b002c25aefdb32mr9958603ilu.158.1652194860677; Tue, 10 May 2022 08:01:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4uw1f1KcnIVJRERNnof9GFlhBvJCRdG/rb9nEoWLR23yvG31IbGKGpnEx9phxYhVtXO/jQA== X-Received: by 2002:a05:6e02:1581:b0:2c2:5aef:db32 with SMTP id m1-20020a056e02158100b002c25aefdb32mr9958575ilu.158.1652194860140; Tue, 10 May 2022 08:01:00 -0700 (PDT) Received: from redhat.com ([38.15.36.239]) by smtp.gmail.com with ESMTPSA id w11-20020a05663800cb00b0032bdc27fbd0sm2711561jao.150.2022.05.10.08.00.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 08:00:59 -0700 (PDT) Date: Tue, 10 May 2022 09:00:53 -0600 From: Alex Williamson To: Leon Romanovsky Cc: Yishai Hadas , jgg@nvidia.com, saeedm@nvidia.com, kvm@vger.kernel.org, netdev@vger.kernel.org, kuba@kernel.org, maorg@nvidia.com, cohuck@redhat.com Subject: Re: [PATCH V2 mlx5-next 0/4] Improve mlx5 live migration driver Message-ID: <20220510090053.56efd550.alex.williamson@redhat.com> In-Reply-To: References: <20220510090206.90374-1-yishaih@nvidia.com> Organization: Red Hat MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, 10 May 2022 16:16:16 +0300 Leon Romanovsky wrote: > On Tue, May 10, 2022 at 12:02:02PM +0300, Yishai Hadas wrote: > > This series improves mlx5 live migration driver in few aspects as of > > below. > > > > Refactor to enable running migration commands in parallel over the PF > > command interface. > > > > To achieve that we exposed from mlx5_core an API to let the VF be > > notified before that the PF command interface goes down/up. (e.g. PF > > reload upon health recovery). > > > > Once having the above functionality in place mlx5 vfio doesn't need any > > more to obtain the global PF lock upon using the command interface but > > can rely on the above mechanism to be in sync with the PF. > > > > This can enable parallel VFs migration over the PF command interface > > from kernel driver point of view. > > > > In addition, > > Moved to use the PF async command mode for the SAVE state command. > > This enables returning earlier to user space upon issuing successfully > > the command and improve latency by let things run in parallel. > > > > Alex, as this series touches mlx5_core we may need to send this in a > > pull request format to VFIO to avoid conflicts before acceptance. > > The PR was sent. > https://lore.kernel.org/netdev/20220510131236.1039430-1-leon@kernel.org/T/#u For patches 2-4, please add: Reviewed-by: Alex Williamson Thanks, Alex