On Thu, 22 Oct 2015 20:09:51 +0800 Huawei Xie <huawei.xie at intel.com> wrote:
> + /* Use simple rx/tx func if single segment and no offloads */ > + if ((tx_conf->txq_flags & VIRTIO_SIMPLE_FLAGS) == VIRTIO_SIMPLE_FLAGS && > + !vtpci_with_feature(hw, VIRTIO_NET_F_MRG_RXBUF)) Since with QEMU/KVM the code will negotiate to use MRG_RXBUF, this code path will not get used in common case anyway.