Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4590669ybl; Mon, 3 Feb 2020 22:04:30 -0800 (PST) X-Google-Smtp-Source: APXvYqw8fejOZs/PpiwRBQYamJ+UPeOPkMctcJlGPegGseV1nmrUWbKOTP5Y+YNUKOdm7myB2k2D X-Received: by 2002:a9d:65da:: with SMTP id z26mr21010379oth.197.1580796269866; Mon, 03 Feb 2020 22:04:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580796269; cv=none; d=google.com; s=arc-20160816; b=uLkVn1DRZz0QDu1mmFaEBgvWj+5/RWGVSsl3rR9gmqOZdZGtf68t3TJa+lardCRFcf Hk9KbNMv7ACOnEFG+erTsi1KAK0PM1OT8eWBQPO99d1aGajkuekztkceYvPb7cIyio5e 1KEHoQ1ulRALkrr5SdRCBoo5EqMLpqTrIzEd9xiCbZ60jYzvGw1yQO3NlQvBvz0K7Xps bmjtM01udMv/FElM789nBhflDS/7Q3zMAGA4yOe0G70HaYFMvYAW6QWQvkPVAMLWpTgw M8RawdBDWazvlEdXJtZJkwrcB6ac7SOxFsC6GLQ8sjvQlsajam9FQ98gjlzwRaDy9Egy 0aFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=RjdsRkXe77yTljkA9sXafvBdByUVdvxrTgCwvbrVV0w=; b=TPkAMo/d3Yf1MPA+uulDWqofdOVodPXgE8ijG5b2EmB5Ys3kR59BnGKigmH42TpFoC vC8CaV7FNykf6EOzIOs83AZBR797mSZzzUD3SrKNF02plj4KHJJRevYaUHL7xqAIWMct sgkpq7tR2FAHErKcQvRR26RKqwaVaa64zzcirEo+R7Ak2VIv6p1AqYGcYaZfyDtCllmU 2kjEwWYeuVlkQZsfwjLcSaGkvmB8Q0xShkJRwHJac3sE2YTd4SgFcEpyoBf75d/I0/V2 yY4H/NSJ502f0TUbJGIYIbKnHWJdBoWJJuNo+bac8rrH4RWRGIX1RKY8NdJ6RGvCnF2F /BUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IbZjKwym; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u13si11551183otg.56.2020.02.03.22.04.14; Mon, 03 Feb 2020 22:04:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IbZjKwym; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726406AbgBDGCC (ORCPT + 99 others); Tue, 4 Feb 2020 01:02:02 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:54861 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725976AbgBDGCB (ORCPT ); Tue, 4 Feb 2020 01:02:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580796120; 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: in-reply-to:in-reply-to:references:references; bh=RjdsRkXe77yTljkA9sXafvBdByUVdvxrTgCwvbrVV0w=; b=IbZjKwymJRgcTd3G6CGpLYAAv/ZFkF/CWUlC6k+vRLFkS2YTObk0LNK01tDBooKAUPWT5K M384Klin7NjILn5tULnraagONCrQx9R5wNKPiT6m6BmgtQBMB2kRpxVLeD0UKTT+wUp02O JRZusD1TMGIr4V9rW38iELK/zhKy2gw= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-232-p_ZlYpiwO1mWy-PPDyk-rw-1; Tue, 04 Feb 2020 01:01:58 -0500 X-MC-Unique: p_ZlYpiwO1mWy-PPDyk-rw-1 Received: by mail-qt1-f200.google.com with SMTP id g26so11623513qts.16 for ; Mon, 03 Feb 2020 22:01:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=RjdsRkXe77yTljkA9sXafvBdByUVdvxrTgCwvbrVV0w=; b=HhpNm1bpB0IGIzwkA3Z9FqI/k7j41kwxC8/E5YMjJHoUNd/VCivMUPMF9obftvEAHk GZFt644vzc+uaXhVMY3xY+ZS5yjbgQNihjERTvXyn6JcwehYrEG6+r5r3mAWzb23klfi Z9FMM/XthNNE7ePMl7ODrMIbF6/DvHilCh/dD3h+I4+wF2jq7vLlP+vdWlRI3Ps5DfEX 2BQlf2iMPHG+lm5T1addToZ44PHlTcIgP2uUaRWTxPxNvnJT1nfshdzLYOcOvrXb+7M1 Gz4BnSwLJfcHKs2Iz+LblefBmBCWa9rh9yotfgdVt5YkyZLKhPhdt9y/Q5jNbLLOTy/0 qFLg== X-Gm-Message-State: APjAAAXhc7TfDjkl6Zw4ljkzVmcRbfguDzRu9guzCeOsh+oL7mDsLz/n r7C1fGZ5fbBl13GYb8RyrLRmlzXj+RlBouwQF7c0hBPcEmq6/MyTDxv25MNjusJc533XsF0jsW2 TaKsM0bKxYynKwwoCaQG3Ozg5 X-Received: by 2002:a05:620a:102c:: with SMTP id a12mr25836903qkk.95.1580796117493; Mon, 03 Feb 2020 22:01:57 -0800 (PST) X-Received: by 2002:a05:620a:102c:: with SMTP id a12mr25836873qkk.95.1580796117247; Mon, 03 Feb 2020 22:01:57 -0800 (PST) Received: from redhat.com (bzq-109-64-11-187.red.bezeqint.net. [109.64.11.187]) by smtp.gmail.com with ESMTPSA id u24sm10612793qkm.40.2020.02.03.22.01.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Feb 2020 22:01:56 -0800 (PST) Date: Tue, 4 Feb 2020 01:01:48 -0500 From: "Michael S. Tsirkin" To: Jason Wang Cc: Tiwei Bie , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, shahafs@mellanox.com, jgg@mellanox.com, rob.miller@broadcom.com, haotian.wang@sifive.com, eperezma@redhat.com, lulu@redhat.com, parav@mellanox.com, rdunlap@infradead.org, hch@infradead.org, jiri@mellanox.com, hanand@xilinx.com, mhabets@solarflare.com, maxime.coquelin@redhat.com, lingshan.zhu@intel.com, dan.daly@intel.com, cunming.liang@intel.com, zhihong.wang@intel.com Subject: Re: [PATCH] vhost: introduce vDPA based backend Message-ID: <20200204005306-mutt-send-email-mst@kernel.org> References: <20200131033651.103534-1-tiwei.bie@intel.com> <7aab2892-bb19-a06a-a6d3-9c28bc4c3400@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7aab2892-bb19-a06a-a6d3-9c28bc4c3400@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 04, 2020 at 11:30:11AM +0800, Jason Wang wrote: > 5) generate diffs of memory table and using IOMMU API to setup the dma > mapping in this method Frankly I think that's a bunch of work. Why not a MAP/UNMAP interface? -- MST