From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [git pull] virtio changes for 17.11-rc1 Date: Mon, 9 Oct 2017 09:13:17 +0200 Message-ID: <728cb984-09b5-a92e-4cc7-9e0947713bf2@redhat.com> References: <20171006064558.GE1545@yliu-home> <1963011.gX7c8kfyiN@xps> <20171008201006.7gqmyeofcw3m4ech@neon> <2218306.fYRWOIo4Bx@xps> <20171009024302.GH1545@yliu-home> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Olivier MATZ , dev@dpdk.org To: Yuanhan Liu , Thomas Monjalon 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) In-Reply-To: <20171009024302.GH1545@yliu-home> Content-Language: en-US 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 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