Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1041781ybh; Thu, 16 Jul 2020 01:14:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYS5WY02ljKPOsOXvXpb5xO7xTpn7NlcYXWbnn9L2ob0SKcp1ItTtTMZjHyZYKE/XsnAZl X-Received: by 2002:a17:906:a44:: with SMTP id x4mr2753943ejf.193.1594887254193; Thu, 16 Jul 2020 01:14:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594887254; cv=none; d=google.com; s=arc-20160816; b=krcrC7cAAi0FzWFaOI5Hi9fx/uowpuKvarNTZzglf/cJXoD56BSiXiFX1qj7uVV28S LWlX/P+cY1IjEKqPaw4tndfXq4XQeX4n6Td4f9X+lwFnLDb0e/XcuWZSdYl13LmxgiBB QSMzOT7x1/qwA9e9UIBYdYt5VM9q/3qmtKSmeUY0GVdbhTSmUAVZOujOzWuCXfoFS+cw 2xKFw4SL1aeCKTJEd5+LJN9RWH4XJI14EjsR4exTsXSc4alIeJB+0udg1+GArr7BZMrx 7YW5V/Jnl00R0TcAEurrM/cD2+/SW71zajtKU0/+DFEFzxXs/DgiKDV4m6vAYBStDPFh YjtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=KNspZOYeXPNEGhnpGmkV6yRlFjwe98L5l1zZfV35HAA=; b=KpfB44rO6zIZRN/TOsKhbU37b+hvRLW1vYcJiRfwT/kziG+s7ZGI2HelYlX0GwrXHC DCH4nRsXYiqpikphj0regygN3CD8lZGfQltSXIFdZIwCGZfnKyYrxU9YrAnrUkQzW5s7 vRPYWrs22Pm6VmghVNE4EEa1av2rBEDDcecLsbgAKbVQJpSaqtiX98LfgGKu6Cw5DeMt wG6my60BEP7cLeJsiQK95BWpPOvtxlediiaaDD+Ljx5Q8y0uM9taDsgnKKFAGfShp9dV 0z6w2RtI7TMxSxAczcdeYT3wO7BDcNpIseAqlqzMiqYB33YMAhLYi+qzkvNrqSUTYlAx j87w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="PZ/WFg/x"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id c94si2912369edf.589.2020.07.16.01.13.50; Thu, 16 Jul 2020 01:14:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="PZ/WFg/x"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726742AbgGPINg (ORCPT + 99 others); Thu, 16 Jul 2020 04:13:36 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:55246 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725831AbgGPINf (ORCPT ); Thu, 16 Jul 2020 04:13:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594887214; 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=KNspZOYeXPNEGhnpGmkV6yRlFjwe98L5l1zZfV35HAA=; b=PZ/WFg/xv08aYtZyk90V+zJK7onLiMPFqGTLmAFYtbCL+fs5fQsepWDoiHLgNJxTDarjpE 9nR1f6tk9m3T22tdlFKKlfY5UTKc6kS3Whzt9a51Lays9XTNjNGiOBegPH8MDh260xwXS5 DDLtrm+UuWo8Ag4QkeZXZJ/BTiY/5uk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-167-7O40IOJAPfKPQG8lgD2MZg-1; Thu, 16 Jul 2020 04:13:30 -0400 X-MC-Unique: 7O40IOJAPfKPQG8lgD2MZg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 465061080; Thu, 16 Jul 2020 08:13:29 +0000 (UTC) Received: from [10.72.12.131] (ovpn-12-131.pek2.redhat.com [10.72.12.131]) by smtp.corp.redhat.com (Postfix) with ESMTP id B37727980F; Thu, 16 Jul 2020 08:13:23 +0000 (UTC) Subject: Re: [PATCH vhost next 09/10] vdpa/mlx5: Add shared memory registration code To: Eli Cohen , mst@redhat.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org Cc: shahafs@mellanox.com, saeedm@mellanox.com, Parav Pandit References: <20200716072327.5359-1-eli@mellanox.com> <20200716072327.5359-10-eli@mellanox.com> From: Jason Wang Message-ID: <61765932-5411-9f37-3a4a-ca5ac5daa28e@redhat.com> Date: Thu, 16 Jul 2020 16:13:21 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200716072327.5359-10-eli@mellanox.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/7/16 下午3:23, Eli Cohen wrote: > Add code to support registering guest's memory region for the device. It would be better to use "userspace" memory here since vhost-vDPA could be used by e.g dpdk application on the host in the future. Thanks