[dpdk-dev] [PATCH v3 1/4] lib_vhost: Fix enqueue/dequeue can't handle chained vring descriptors

2015-06-02 Thread Ouyang, Changchun
> -Original Message- > From: Xie, Huawei > Sent: Tuesday, June 2, 2015 3:51 PM > To: Ouyang, Changchun; dev at dpdk.org > Cc: Cao, Waterman > Subject: Re: [PATCH v3 1/4] lib_vhost: Fix enqueue/dequeue can't handle > chained vring descriptors > > On 6/1/2015 4:26 PM, Ouyang, Changchun

[dpdk-dev] [PATCH v3 1/4] lib_vhost: Fix enqueue/dequeue can't handle chained vring descriptors

2015-06-02 Thread Xie, Huawei
On 6/1/2015 4:26 PM, Ouyang, Changchun wrote: > Vring enqueue need consider the 2 cases: > 1. use separate descriptors to contain virtio header and actual data, e.g. > the first descriptor > is for virtio header, and then followed by descriptors for actual data. > 2. virtio header and some

[dpdk-dev] [PATCH v3 1/4] lib_vhost: Fix enqueue/dequeue can't handle chained vring descriptors

2015-06-01 Thread Ouyang Changchun
Vring enqueue need consider the 2 cases: 1. use separate descriptors to contain virtio header and actual data, e.g. the first descriptor is for virtio header, and then followed by descriptors for actual data. 2. virtio header and some data are put together in one descriptor, e.g. the first