On Tue, Apr 10, 2018 at 11:46:47AM +0800, Jason Wang wrote: > > > On 2018年04月04日 20:53, w...@redhat.com wrote: > >From: Wei Xu <w...@redhat.com> > > > >This is a prototype for virtio-net 1.1 support in userspace backend, > >only minimum part are included in this RFC(roughly synced to v8 as > >Jason and Tiwei's RFC). > > > >Test has been done together with Tiwei's RFC guest virtio-net driver > >patch, ping and a quick iperf test successfully. > > > >Issues: > >1. Rx performance of Iperf is much slower than TX. > > TX: 13-15Gb > > RX: 100-300Mb > > This needs to be investigated. What's the pps of TX/RX then? (Maybe you can > try Jen's dpdk code too).
Yes, I haven't tune any tso/gso on tap so the pps should match the bandwidth, will try some more debugging and tried Jen's code if I can not resolve it. Wei > > Thanks > > > > >Missing: > >- device and driver > >- indirect descriptor > >- migration > >- vIOMMU support > >- other revisions since v8 > >- see FIXME > > > >Wei Xu (8): > > virtio: feature bit, data structure for packed ring > > virtio: memory cache for packed ring > > virtio: add empty check for packed ring > > virtio: add detach element for packed ring(1.1) > > virtio: notification tweak for packed ring > > virtio: flush/push support for packed ring > > virtio: get avail bytes check for packed ring > > virtio: queue pop support for packed ring > > > > hw/virtio/virtio.c | 618 > > +++++++++++++++++++++++-- > > include/hw/virtio/virtio.h | 12 +- > > include/standard-headers/linux/virtio_config.h | 2 + > > 3 files changed, 601 insertions(+), 31 deletions(-) > > >