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 71F5BC433EF for ; Thu, 12 May 2022 18:21:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357569AbiELSVj (ORCPT ); Thu, 12 May 2022 14:21:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357562AbiELSVg (ORCPT ); Thu, 12 May 2022 14:21:36 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E47334D25B for ; Thu, 12 May 2022 11:21:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652379694; 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=JQehALh0Jx7o9GOk+RBlCmR7brUtli8lBPEjRk+xLZ4=; b=NpO9ogdyTrCOCG6JB9Zj7gd9ZRqbBZJT7wesrBl9o9AqFn6xyg6JVUUCKtk8XphmvcwZZt B7W2xUVdNOcJp8SKsgGIzCJWL1yBzIcS8Nl1ltDdwK5/yvlefIzfyTDCQReEOu9t2KgPCJ 79C3FNzNZJ+y9cXmfSdKBvnXJbdkhPk= Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-325-SsbpNUmdPySl03imtbn77w-1; Thu, 12 May 2022 14:21:32 -0400 X-MC-Unique: SsbpNUmdPySl03imtbn77w-1 Received: by mail-il1-f197.google.com with SMTP id w14-20020a056e021c8e00b002cf20eefac2so3756053ill.6 for ; Thu, 12 May 2022 11:21:32 -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=JQehALh0Jx7o9GOk+RBlCmR7brUtli8lBPEjRk+xLZ4=; b=hpweQzMcV7N5v0tECatl7Y3VXcZ8mwKH+lwKFNw9tQhgATIQ0zZ3eTlIhL0YdFIwIh ctCHyK3FtPL4ZltCptanTYixEkiRSHnuyiSErnH02oToRxjqBmzSEOW4z4A1tTi/TQoj 5uMxJw4YSfgqELQCJZsgxEQLg7z7MQDiz3YPkDeBxRg3ExsOWAJA2AFqfWc+3pMut2SN id7l9IjlPEMeVI3GQrH6MYwLx4v68heL67Jf4yOA55+JfnNA6tNbD4HwNlMJImgstbfO jUH5d17yCIPa9Z878QZR5XQ0TyLSpUq1ChQ2H7JCCJ0+tjDg/24zwwVctWpVEnYeja7e X3PA== X-Gm-Message-State: AOAM530NjbgYZf7pEzJlFXTSaOXHtZkU/tZD/ZJEsToBljpuZq0miEPW mf6U4Eb9y5gKK4CzcH0oPtvttmgHO2p4kO6i8mYbm4nJ0a1f02oVmn04YbKfyEgJLl9SKpyIXLQ bCY6XjSvN7Paz X-Received: by 2002:a05:6e02:2162:b0:2cf:2f70:e8e with SMTP id s2-20020a056e02216200b002cf2f700e8emr712605ilv.148.1652379692145; Thu, 12 May 2022 11:21:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDOG3POaOwmN7RPhnD3yF1II+ZnJefBH0XMNF01/MUw/8Bjjr9whEtDHPh+Malkf+KCAyZSw== X-Received: by 2002:a05:6e02:2162:b0:2cf:2f70:e8e with SMTP id s2-20020a056e02216200b002cf2f700e8emr712592ilv.148.1652379691904; Thu, 12 May 2022 11:21:31 -0700 (PDT) Received: from redhat.com ([38.15.36.239]) by smtp.gmail.com with ESMTPSA id f21-20020a02b795000000b0032b3a781771sm64668jam.53.2022.05.12.11.21.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 11:21:31 -0700 (PDT) Date: Thu, 12 May 2022 12:21:30 -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: <20220512122130.48181ada.alex.williamson@redhat.com> In-Reply-To: References: <20220510090206.90374-1-yishaih@nvidia.com> <20220510090053.56efd550.alex.williamson@redhat.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: kvm@vger.kernel.org On Wed, 11 May 2022 09:40:37 +0300 Leon Romanovsky wrote: > On Tue, May 10, 2022 at 09:00:53AM -0600, Alex Williamson wrote: > > 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 > > Done, I force pushed same branch and tag, so previous PR is still valid > to be pulled. > https://lore.kernel.org/kvm/20220510131236.1039430-1-leon@kernel.org/T/#u Merged to vfio next branch for v5.19. Thanks, Alex