[dpdk-dev] [PATCH v4 6/7] virtio: simple tx routine

2015-10-23 Thread Xie, Huawei
On 10/23/2015 10:17 AM, Xie, Huawei wrote: > On 10/23/2015 12:57 AM, Stephen Hemminger wrote: >> On Thu, 22 Oct 2015 20:09:50 +0800 >> Huawei Xie wrote: >> >>> Changes in v4: >>> - move virtio_xmit_cleanup ahead to free descriptors earlier >>> >>> Changes in v3: >>> - Remove return at the end of

[dpdk-dev] [PATCH v4 6/7] virtio: simple tx routine

2015-10-23 Thread Xie, Huawei
On 10/23/2015 12:57 AM, Stephen Hemminger wrote: > On Thu, 22 Oct 2015 20:09:50 +0800 > Huawei Xie wrote: > >> Changes in v4: >> - move virtio_xmit_cleanup ahead to free descriptors earlier >> >> Changes in v3: >> - Remove return at the end of void function >> - Remove always_inline attribute for

[dpdk-dev] [PATCH v4 6/7] virtio: simple tx routine

2015-10-22 Thread Huawei Xie
Changes in v4: - move virtio_xmit_cleanup ahead to free descriptors earlier Changes in v3: - Remove return at the end of void function - Remove always_inline attribute for virtio_xmit_cleanup bulk free of mbufs when clean used ring. shift operation of idx could be saved if vq_free_cnt means free

[dpdk-dev] [PATCH v4 6/7] virtio: simple tx routine

2015-10-22 Thread Stephen Hemminger
On Thu, 22 Oct 2015 20:09:50 +0800 Huawei Xie wrote: > Changes in v4: > - move virtio_xmit_cleanup ahead to free descriptors earlier > > Changes in v3: > - Remove return at the end of void function > - Remove always_inline attribute for virtio_xmit_cleanup > bulk free of mbufs when clean used