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

2015-05-31 Thread Xie, Huawei
On 5/28/2015 11:17 PM, Ouyang, Changchun wrote: > Vring enqueue need consider the 2 cases: > 1. Vring descriptors chained together, the first one is for virtio header, > the rest are for real > data, virtio driver in Linux usually use this scheme; > 2. Only one descriptor, virtio header and

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

2015-05-31 Thread Xie, Huawei
On 5/28/2015 11:17 PM, Ouyang, Changchun wrote: > Vring enqueue need consider the 2 cases: > 1. Vring descriptors chained together, the first one is for virtio header, > the rest are for real > data, virtio driver in Linux usually use this scheme; > 2. Only one descriptor, virtio header and

[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 1/5] lib_vhost: Fix enqueue/dequeue can't handle chained vring descriptors

2015-05-31 Thread Ouyang, Changchun
> -Original Message- > From: Xie, Huawei > Sent: Sunday, May 31, 2015 4:41 PM > To: Ouyang, Changchun; dev at dpdk.org > Cc: Cao, Waterman > Subject: Re: [PATCH v2 1/5] lib_vhost: Fix enqueue/dequeue can't handle > chained vring descriptors > > On 5/28/2015 11:17 PM, Ouyang, Changchun wr

[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 1/5] lib_vhost: Fix enqueue/dequeue can't handle chained vring descriptors

2015-05-31 Thread Ouyang, Changchun
> -Original Message- > From: Xie, Huawei > Sent: Sunday, May 31, 2015 1:04 PM > To: Ouyang, Changchun; dev at dpdk.org > Cc: Cao, Waterman > Subject: Re: [PATCH v2 1/5] lib_vhost: Fix enqueue/dequeue can't handle > chained vring descriptors > > On 5/28/2015 11:17 PM, Ouyang, Changchun wr

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

2015-05-31 Thread Ouyang, Changchun
> -Original Message- > From: Ouyang, Changchun > Sent: Sunday, May 31, 2015 9:00 PM > To: Xie, Huawei; dev at dpdk.org > Cc: Cao, Waterman; Ouyang, Changchun > Subject: RE: [PATCH v2 1/5] lib_vhost: Fix enqueue/dequeue can't handle > chained vring descriptors > > > > > -Original Me

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

2015-05-31 Thread Ouyang, Changchun
> -Original Message- > From: Xie, Huawei > Sent: Sunday, May 31, 2015 4:41 PM > To: Ouyang, Changchun; dev at dpdk.org > Cc: Cao, Waterman > Subject: Re: [PATCH v2 1/5] lib_vhost: Fix enqueue/dequeue can't handle > chained vring descriptors > > On 5/28/2015 11:17 PM, Ouyang, Changchun wr

[dpdk-dev] [RFC PATCH] librte_pmd_fm10k: Add hotplug support for fm10k

2015-05-31 Thread Michael Qiu
Add hotplug support for fm10k Signed-off-by: Michael Qiu --- lib/librte_pmd_fm10k/fm10k_ethdev.c | 134 ++-- 1 file changed, 129 insertions(+), 5 deletions(-) diff --git a/lib/librte_pmd_fm10k/fm10k_ethdev.c b/lib/librte_pmd_fm10k/fm10k_ethdev.c index 7f5f513..3

[dpdk-dev] [PATCH 2/2] ethtool: add new library to provide ethtool-alike APIs

2015-05-31 Thread Stephen Hemminger
On Sat, 30 May 2015 19:40:46 + "Wang, Liang-min" wrote: > > On Sat, 30 May 2015 16:16:01 + > "Wang, Liang-min" wrote: > > > >The design decision is to keep ethdev as THE interface for all the > > >external API, so ethtool APIs are designed based upon ethdev API. At the > > >meantime,

[dpdk-dev] [PATCH 2/2] ethtool: add new library to provide ethtool-alike APIs

2015-05-31 Thread Wang, Liang-min
>On Sat, 30 May 2015 19:40:46 + >"Wang, Liang-min" wrote: > >> > >On Sat, 30 May 2015 16:16:01 + > >"Wang, Liang-min" wrote: > > > >> >The design decision is to keep ethdev as THE interface for all the > >> >external API, so ethtool APIs are designed based upon ethdev API. At the > >>

[dpdk-dev] [PATCH 2/2] ethtool: add new library to provide ethtool-alike APIs

2015-05-31 Thread Wang, Liang-min
>>On Sat, 30 May 2015 19:40:46 + >>"Wang, Liang-min" wrote: >> >>> > >>On Sat, 30 May 2015 16:16:01 + > >>"Wang, Liang-min" wrote: > >> > >> >>The design decision is to keep ethdev as THE interface for all the > >> >>external API, so ethtool APIs are designed based upon ethdev API. At