[dpdk-dev] [PATCH v2 5/5] lib_vhost: Add support copying scattered mbuf to vring

2015-05-31 Thread Ouyang, Changchun
> -Original Message- > From: Xie, Huawei > Sent: Sunday, May 31, 2015 5:11 PM > To: Ouyang, Changchun; dev at dpdk.org > Cc: Cao, Waterman > Subject: Re: [PATCH v2 5/5] lib_vhost: Add support copying scattered mbuf > to vring > > virtio_dev_rx & scatter_rx & merge-able rx should be merge

[dpdk-dev] [PATCH v2 5/5] lib_vhost: Add support copying scattered mbuf to vring

2015-05-31 Thread Xie, Huawei
virtio_dev_rx & scatter_rx & merge-able rx should be merged and the code could be much simpler, unless there is special performance consideration. On 5/28/2015 11:17 PM, Ouyang, Changchun wrote: > Add support copying scattered mbuf to vring which is done by dev_scatter_rx, > and check the 'next'

[dpdk-dev] [PATCH v2 5/5] lib_vhost: Add support copying scattered mbuf to vring

2015-05-28 Thread Ouyang Changchun
Add support copying scattered mbuf to vring which is done by dev_scatter_rx, and check the 'next' pointer in mbuf on the fly to select suitable function to rx packets. Signed-off-by: Changchun Ouyang --- lib/librte_vhost/vhost_rxtx.c | 116 +- 1 file chan