From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Wang Subject: Re: [RFC v3 0/5] virtio: support packed ring Date: Wed, 2 May 2018 11:49:43 +0800 Message-ID: <31839145-3e87-2cc7-dfca-a09ae64b976a@redhat.com> References: <20180425051550.24342-1-tiwei.bie@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: wexu@redhat.com, jfreimann@redhat.com To: Tiwei Bie , mst@redhat.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Return-path: In-Reply-To: <20180425051550.24342-1-tiwei.bie@intel.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On 2018年04月25日 13:15, Tiwei Bie wrote: > Hello everyone, > > This RFC implements packed ring support in virtio driver. > > Some simple functional tests have been done with Jason's > packed ring implementation in vhost: > > https://lkml.org/lkml/2018/4/23/12 > > Both of ping and netperf worked as expected (with EVENT_IDX > disabled). But there are below known issues: > > 1. Reloading the guest driver will break the Tx/Rx; It looks like the reason is we don't sync wrap counter information between host and qemu through VHOST_SET/GET_VRING_BASE. And both vhost and qemu need to do this through encoding warp counters to higher bits of vhost_vring_state.num, Thanks