Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1257734rdb; Mon, 2 Oct 2023 04:26:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGRZL31p8PR+QWUsXLL/12nTPi8Kxr6EvaNqKPNkWROO0cw1TyHJgDO2Y63BFbfOqs730ha X-Received: by 2002:a17:903:228e:b0:1c1:fafd:d169 with SMTP id b14-20020a170903228e00b001c1fafdd169mr10620772plh.3.1696245994414; Mon, 02 Oct 2023 04:26:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696245994; cv=none; d=google.com; s=arc-20160816; b=RekkJRAsDNDUy9Wv4jEBLu/k80jBD8QRprFluJ85xUDWYq+QgGBPMIYrr68lNy57AO eHBq12DzRA2176iMiQeit1Z4Mf9V+YRlFhTUB0r9qqUfFOwiYLoA0wcewyMRExSH7jrL Wjt0J3eyN5dfAFjFrFSUHvzEpxPidSnDDZOKvbmhk47X9rKytIxp03BYotaRfNEWWtx/ wcNNiDri6rTkUJfdeGz3epM4KA3qLnaGVtLOJNWu9wUlzmhJvQZPBs2Bvvk5EqGJyUwp qnMrtI4w9tajI8/S6+dJaBcyvhdPHpwfdfpp3DjERMdyPV1Bj4GtwQctLL56VTMEP28e RyaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=IDk13IQMeuzWd+e4/VNtBw2KJRbIrfMapI0aHX9XRVo=; fh=skOfjMW3bLt685dhvKA6ZwzNE9ktN9NEeHkDT3gMKSc=; b=siCkHurOYSwyej7vwEvGFUnRjQ1fhzDUhF/yeLAQ7ukw/ehiZYiIl2z/voSpLWpFwT WDHXdlTFKNyTuEKQ+AzkFLs7EeSngIiIORzfnmtgh1yajhueQ+BLLO7Q02f1p6e76kn2 sLLK/7x++/mL+SLFG1w63I/gu1Ow0ypXFlYfbgRsjiABC6ZIvd3od4g8SItzKOoc+ZwF g8Hgyg8/encr/b+kdXVo7BLEAFX4CIn9jRMs82Vf03ySNDK1y1O1QDsXhs2roR6ijKMA MuUNNKMoAoPcKpGNTq2Yrd4EgjK74/mtmCuPBFZp73PwmOOIB+cDGG5S8aBWzuf8uzwI HOwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r0etBzUw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id l19-20020a170902f69300b001c7615a8de5si4194123plg.20.2023.10.02.04.26.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 04:26:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r0etBzUw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id C45F78087257; Mon, 2 Oct 2023 03:16:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236378AbjJBKQa (ORCPT + 99 others); Mon, 2 Oct 2023 06:16:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231153AbjJBKQT (ORCPT ); Mon, 2 Oct 2023 06:16:19 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 546E9B3; Mon, 2 Oct 2023 03:16:16 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DE6EC433C8; Mon, 2 Oct 2023 10:16:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696241775; bh=VLliXuAF8QPVy04D/rtFQGZqAS64x++mfdCoI8VRoW8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r0etBzUwLk2CCjZoBGPM1zTIaXAL+w7ERcTqoBJI+KZWZQ4s8EOCD4jzlE4PHGzRI ZNUoqFn+6/vf7dL+COR1dtbqPuFSfY/AkuueyJzRK0oYHgMqc/9OpOjBFzrIfJ9q0u oDz0d9S8YDSccLiG81AHjqkmCIox4eSUc0LQElaMFHgToCvnIApVl4kUTEaJ4+rsRK 6u/AMv0PgdQJx2hL6xqxI/Ao5ccRccvEZN4uVc8OrjrrBAgl+dqIxxgi8VlTQbLmJR SyzQUDgk6M18uTZH9DMAjGXOVBI9qgLq3RlzYbpwsFX2QiIkpcDC0KO/nbyJxG/TKR C7XshL7DUPdNw== Date: Mon, 2 Oct 2023 13:16:12 +0300 From: Leon Romanovsky To: Dragos Tatulea Cc: eperezma@redhat.com, gal@nvidia.com, "Michael S . Tsirkin" , Jason Wang , Saeed Mahameed , Xuan Zhuo , virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH vhost v2 00/16] vdpa: Add support for vq descriptor mappings Message-ID: <20231002101612.GB7059@unreal> References: <20230928164550.980832-2-dtatulea@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230928164550.980832-2-dtatulea@nvidia.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 02 Oct 2023 03:16:44 -0700 (PDT) On Thu, Sep 28, 2023 at 07:45:11PM +0300, Dragos Tatulea wrote: > This patch series adds support for vq descriptor table mappings which > are used to improve vdpa live migration downtime. The improvement comes > from using smaller mappings which take less time to create and destroy > in hw. > > The first part adds the vdpa core changes from Si-Wei [0]. > > The second part adds support in mlx5_vdpa: > - Refactor the mr code to be able to cleanly add descriptor mappings. > - Add hardware descriptor mr support. > - Properly update iotlb for cvq during ASID switch. > > Changes in v2: > > - The "vdpa/mlx5: Enable hw support for vq descriptor mapping" change > was split off into two patches to avoid merge conflicts into the tree > of Linus. > > The first patch contains only changes for mlx5_ifc.h. This must be > applied into the mlx5-next tree [1] first. Once this patch is applied > on mlx5-next, the change has to be pulled fom mlx5-next into the vhost > tree and only then the remaining patches can be applied. > > [0] https://lore.kernel.org/virtualization/1694248959-13369-1-git-send-email-si-wei.liu@oracle.com > [1] https://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git/log/?h=mlx5-next > > Dragos Tatulea (13): > vdpa/mlx5: Expose descriptor group mkey hw capability I prepared shared branch with this patch. https://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git/log/?h=mlx5-vhost Thanks