From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 42D69A0A02; Fri, 15 Jan 2021 10:47:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E7BCD140E5B; Fri, 15 Jan 2021 10:47:49 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 913E7140E5A for ; Fri, 15 Jan 2021 10:47:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610704067; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ExapLwFLxmimjMOjqw1zRisJfRGVjgzPjRoi4BWAFtA=; b=A19PXFQ5N3UaXVrsy+7BEt7weJJ1pb1USjixMGpxxYGtA5CLqL9JO0gKPn2MeP224LlZMX 1J8nTaooUscedWNeF5EshwqZ7kj4ksvvTl1BKWu1bUP53ew4rhQu4qzI9nEoOuO/3u2BtN TkS3WHF/n6oBnk9D7V4SYSTvTKVjWA0= 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-393-wl7ccMrTPFO2aqH82fjc_g-1; Fri, 15 Jan 2021 04:47:45 -0500 X-MC-Unique: wl7ccMrTPFO2aqH82fjc_g-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C259E100855C; Fri, 15 Jan 2021 09:47:44 +0000 (UTC) Received: from [10.36.110.24] (unknown [10.36.110.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7DC185D9E3; Fri, 15 Jan 2021 09:47:40 +0000 (UTC) To: "Xia, Chenbo" , "dev@dpdk.org" , "olivier.matz@6wind.com" , "amorenoz@redhat.com" , "david.marchand@redhat.com" References: <20201220211405.313012-1-maxime.coquelin@redhat.com> <20201220211405.313012-24-maxime.coquelin@redhat.com> From: Maxime Coquelin Message-ID: <9146940a-03f9-4273-a00f-4be17eb0b3ae@redhat.com> Date: Fri, 15 Jan 2021 10:47:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 23/40] net/virtio: make Vhost-user req sender consistent X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 1/6/21 12:50 PM, Xia, Chenbo wrote: > Hi Maxime, > >> -----Original Message----- >> From: Maxime Coquelin >> Sent: Monday, December 21, 2020 5:14 AM >> To: dev@dpdk.org; Xia, Chenbo ; olivier.matz@6wind.com; >> amorenoz@redhat.com; david.marchand@redhat.com >> Cc: Maxime Coquelin >> Subject: [PATCH 23/40] net/virtio: make Vhost-user req sender consistent >> >> This patch makes vhost_user_write() consistent with >> vhost_user_read(), by passing a pointer on the Vhost-user > > You mean a pointer 'to' the vhost-user msg? :P Changed to: "by passing a Vhost-user message pointer instead of a buffer pointer and its length" Thanks, Maxime > Thanks, > Chenbo > >> message instead of a buffer pointer and its length, which >> is now calculated in the function. >> >> Signed-off-by: Maxime Coquelin >