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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E04F2C433F5 for ; Tue, 28 Sep 2021 20:22:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BEDB661052 for ; Tue, 28 Sep 2021 20:22:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242672AbhI1UYP (ORCPT ); Tue, 28 Sep 2021 16:24:15 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:33917 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242682AbhI1UYO (ORCPT ); Tue, 28 Sep 2021 16:24:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632860554; 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=Px75PZplZbEMaaLvg/IKZKQmq+Fd+/Xi4N5X7tKeYOU=; b=hDRxPRXumIYPR1DK0A9FEGFhwFgxHVce5YYq77E7VEGK4fn+FISgvRanGlsNBmXxoKkyHD ow6i7wM8sD1FfzyLAFcIm1GpZgIPZ3k/9aNri6szwh6Pg0p83cCFbC8kRMJ0n/mkKBYCZX 9lqF1lPCuoMfnjZRf/RqBZE0RBORQvM= Received: from mail-oo1-f70.google.com (mail-oo1-f70.google.com [209.85.161.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-541-wu47ZM8_NwGzFrTssis6KQ-1; Tue, 28 Sep 2021 16:22:33 -0400 X-MC-Unique: wu47ZM8_NwGzFrTssis6KQ-1 Received: by mail-oo1-f70.google.com with SMTP id s189-20020a4a51c6000000b002b587aa90ccso121382ooa.4 for ; Tue, 28 Sep 2021 13:22:33 -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:mime-version:content-transfer-encoding; bh=Px75PZplZbEMaaLvg/IKZKQmq+Fd+/Xi4N5X7tKeYOU=; b=bujhYAzCVTKqqQ5hctiyUdeuKlYXIzeULDarOHLSwiScAmtIts8YPS+Cay9ejFYC38 tWzSd0nzdFiFbKVlor+RCmx4i23ciIwDnoc/2XYObFJsrK4W/xPhC8zvyyBa0YC1bCKY v2HR0wOACQ6JSsnJ9S0JPFSp1ygqx6X6pNrvylbJRvipuqA8m/OTyFnLP2i1M9ANuP56 eQuc8QE92GG3Lf7mKGwm1B84S/X966TpHVEFOZxhALCL6+bekXykJzONX+0p7llF7Ki+ PNk1OFFVqRd+Nqz/PAEIvaEJ5Y+q614QXeQNrhJzw0KAF7JsmAmH30KoWRCIG/mPHQta SskA== X-Gm-Message-State: AOAM5333Y+i0VerldX70peDjKknhjTuIZ9gC4QYfAPLsU2V8INcEjfM3 T0pH8LLOJHPssYEGU3ZH/Q6W+43qh9169AK8rm6bRkYBPvJW5Ll4IXlp59y9tUJsG7JwqgUyB6U T3FmA3kTYEcFHjCTsmohdDw== X-Received: by 2002:a05:6830:314e:: with SMTP id c14mr6935948ots.37.1632860552497; Tue, 28 Sep 2021 13:22:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzR8N6ivbHyTQeeTuTu5EyUCFoNeJ/uw+Yu3F+JZpS9o76cUotJSm8am7W0TX6GQTPc2NRTNg== X-Received: by 2002:a05:6830:314e:: with SMTP id c14mr6935926ots.37.1632860552311; Tue, 28 Sep 2021 13:22:32 -0700 (PDT) Received: from redhat.com ([198.99.80.109]) by smtp.gmail.com with ESMTPSA id 21sm41504oix.1.2021.09.28.13.22.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 13:22:32 -0700 (PDT) Date: Tue, 28 Sep 2021 14:22:30 -0600 From: Alex Williamson To: Leon Romanovsky Cc: Doug Ledford , Jason Gunthorpe , Yishai Hadas , Bjorn Helgaas , "David S. Miller" , Jakub Kicinski , Kirti Wankhede , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org, Saeed Mahameed Subject: Re: [PATCH mlx5-next 6/7] mlx5_vfio_pci: Expose migration commands over mlx5 device Message-ID: <20210928142230.20b0153a.alex.williamson@redhat.com> In-Reply-To: <7fc0cf0d76bb6df4679b55974959f5494e48f54d.1632305919.git.leonro@nvidia.com> References: <7fc0cf0d76bb6df4679b55974959f5494e48f54d.1632305919.git.leonro@nvidia.com> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org On Wed, 22 Sep 2021 13:38:55 +0300 Leon Romanovsky wrote: > From: Yishai Hadas > > Expose migration commands over the device, it includes: suspend, resume, > get vhca id, query/save/load state. > > As part of this adds the APIs and data structure that are needed to > manage the migration data. > > Signed-off-by: Yishai Hadas > Signed-off-by: Leon Romanovsky > --- > drivers/vfio/pci/mlx5_vfio_pci_cmd.c | 358 +++++++++++++++++++++++++++ > drivers/vfio/pci/mlx5_vfio_pci_cmd.h | 43 ++++ > 2 files changed, 401 insertions(+) > create mode 100644 drivers/vfio/pci/mlx5_vfio_pci_cmd.c > create mode 100644 drivers/vfio/pci/mlx5_vfio_pci_cmd.h Should we set the precedent of a vendor sub-directory like we have elsewhere? Either way I'd like to see a MAINTAINERS file update for the new driver. Thanks, Alex