From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 0F5921AF03 for ; Mon, 9 Oct 2017 09:13:23 +0200 (CEST) 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 mx1.redhat.com (Postfix) with ESMTPS id 8F64C8046E; Mon, 9 Oct 2017 07:13:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 8F64C8046E Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=maxime.coquelin@redhat.com Received: from [10.36.112.42] (ovpn-112-42.ams2.redhat.com [10.36.112.42]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CFCBC70946; Mon, 9 Oct 2017 07:13:20 +0000 (UTC) To: Yuanhan Liu , Thomas Monjalon Cc: Olivier MATZ , dev@dpdk.org References: <20171006064558.GE1545@yliu-home> <1963011.gX7c8kfyiN@xps> <20171008201006.7gqmyeofcw3m4ech@neon> <2218306.fYRWOIo4Bx@xps> <20171009024302.GH1545@yliu-home> From: Maxime Coquelin Message-ID: <728cb984-09b5-a92e-4cc7-9e0947713bf2@redhat.com> Date: Mon, 9 Oct 2017 09:13:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171009024302.GH1545@yliu-home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 09 Oct 2017 07:13:22 +0000 (UTC) Subject: Re: [dpdk-dev] [git pull] virtio changes for 17.11-rc1 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 07:13:24 -0000 On 10/09/2017 04:43 AM, Yuanhan Liu wrote: > Olivier and Maxime, please confirm the following fixes. > > Thanks. > > --yliu > > --- > diff --git a/lib/librte_vhost/vhost_user.c b/lib/librte_vhost/vhost_user.c > index f891f57..207fda5 100644 > --- a/lib/librte_vhost/vhost_user.c > +++ b/lib/librte_vhost/vhost_user.c > @@ -1352,7 +1352,7 @@ int vhost_user_iotlb_miss(struct virtio_net *dev, uint64_t iova, uint8_t perm) > { > int ret; > struct VhostUserMsg msg = { > - .request = VHOST_USER_SLAVE_IOTLB_MSG, > + .request = (enum VhostUserRequest)VHOST_USER_SLAVE_IOTLB_MSG, > .flags = VHOST_USER_VERSION, > .size = sizeof(msg.payload.iotlb), > .payload.iotlb = { Acked-by: Maxime Coquelin Thanks! Maxime