On 10/23/2015 12:59 AM, Stephen Hemminger wrote: > 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. > Yes, the common configuration is merge-able enabled. We need to add mrg_rxbuf=off(in qemu command line), or disable merge-able feature(in switch application) through vhost API for non-mergable.
- [dpdk-dev] [PATCH v4 4/7] virtio: fill RX avail rin... Huawei Xie
- [dpdk-dev] [PATCH v4 4/7] virtio: fill RX avail... Tan, Jianfeng
- [dpdk-dev] [PATCH v4 4/7] virtio: fill RX a... Xie, Huawei
- [dpdk-dev] [PATCH v4 5/7] virtio: virtio vec rx Huawei Xie
- [dpdk-dev] [PATCH v4 6/7] virtio: simple tx routine Huawei Xie
- [dpdk-dev] [PATCH v4 6/7] virtio: simple tx rou... Stephen Hemminger
- [dpdk-dev] [PATCH v4 6/7] virtio: simple tx... Xie, Huawei
- [dpdk-dev] [PATCH v4 6/7] virtio: simpl... Xie, Huawei
- [dpdk-dev] [PATCH v4 7/7] virtio: pick simple rx/tx... Huawei Xie
- [dpdk-dev] [PATCH v4 7/7] virtio: pick simple r... Stephen Hemminger
- [dpdk-dev] [PATCH v4 7/7] virtio: pick simp... Xie, Huawei
- [dpdk-dev] [PATCH v5 0/7] virtio ring layout optimizatio... Huawei Xie
- [dpdk-dev] [PATCH v5 1/7] virtio: add virtio_rxtx.h... Huawei Xie
- [dpdk-dev] [PATCH v5 2/7] virtio: add software rx r... Huawei Xie
- [dpdk-dev] [PATCH v5 3/7] virtio: rx/tx ring layout... Huawei Xie
- [dpdk-dev] [PATCH v5 4/7] virtio: fill RX avail rin... Huawei Xie
- [dpdk-dev] [PATCH v5 5/7] virtio: virtio vec rx Huawei Xie
- [dpdk-dev] [PATCH v5 5/7] virtio: virtio vec rx Wang, Zhihong
- [dpdk-dev] [PATCH v5 6/7] virtio: simple tx routine Huawei Xie
- [dpdk-dev] [PATCH v5 7/7] virtio: pick simple rx/tx... Huawei Xie
- [dpdk-dev] [PATCH v5 0/7] virtio ring layout optimi... Tan, Jianfeng