Re: [dpdk-dev] [PATCH] vhost: add support to large linear mbufs

2019-10-04 Thread Ilya Maximets
On 02.10.2019 20:15, Flavio Leitner wrote: On Wed, 2 Oct 2019 17:50:41 + Shahaf Shuler wrote: Wednesday, October 2, 2019 3:59 PM, Flavio Leitner: Obrembski MichalX ; Stokes Ian Subject: Re: [dpdk-dev] [PATCH] vhost: add support to large linear mbufs Hi Shahaf, Thanks for looking into

Re: [dpdk-dev] [PATCH] vhost: add support to large linear mbufs

2019-10-03 Thread Flavio Leitner
halX ; Stokes Ian > >>> > >>> Subject: Re: [dpdk-dev] [PATCH] vhost: add support to large linear > >>> mbufs > >>> > >>> > >>> Hi Shahaf, > >>> > >>> Thanks for looking into this, see my inline comment

Re: [dpdk-dev] [PATCH] vhost: add support to large linear mbufs

2019-10-02 Thread Flavio Leitner
On Wed, 2 Oct 2019 17:50:41 + Shahaf Shuler wrote: > Wednesday, October 2, 2019 3:59 PM, Flavio Leitner: > > Obrembski MichalX ; Stokes Ian > > > > Subject: Re: [dpdk-dev] [PATCH] vhost: add support to large linear > > mbufs > > > > > > Hi

Re: [dpdk-dev] [PATCH] vhost: add support to large linear mbufs

2019-10-02 Thread Shahaf Shuler
Wednesday, October 2, 2019 3:59 PM, Flavio Leitner: > Obrembski MichalX ; Stokes Ian > > Subject: Re: [dpdk-dev] [PATCH] vhost: add support to large linear mbufs > > > Hi Shahaf, > > Thanks for looking into this, see my inline comments. > > On Wed, 2 Oct 2019

Re: [dpdk-dev] [PATCH] vhost: add support to large linear mbufs

2019-10-02 Thread Flavio Leitner
Hi Shahaf, Thanks for looking into this, see my inline comments. On Wed, 2 Oct 2019 09:00:11 + Shahaf Shuler wrote: > Wednesday, October 2, 2019 11:05 AM, David Marchand: > > Subject: Re: [dpdk-dev] [PATCH] vhost: add support to large linear > > mbufs > > > >

Re: [dpdk-dev] [PATCH] vhost: add support to large linear mbufs

2019-10-02 Thread Shahaf Shuler
Wednesday, October 2, 2019 11:05 AM, David Marchand: > Subject: Re: [dpdk-dev] [PATCH] vhost: add support to large linear mbufs > > Hello Shahaf, > > On Wed, Oct 2, 2019 at 6:46 AM Shahaf Shuler > wrote: > > > > Wednesday, October 2, 2019 1:20 AM, Flavio Lei

Re: [dpdk-dev] [PATCH] vhost: add support to large linear mbufs

2019-10-02 Thread David Marchand
Hello Shahaf, On Wed, Oct 2, 2019 at 6:46 AM Shahaf Shuler wrote: > > Wednesday, October 2, 2019 1:20 AM, Flavio Leitner: > > Subject: [dpdk-dev] [PATCH] vhost: add support to large linear mbufs > > > > The rte_vhost_dequeue_burst supports two ways of dequeuing data. If

Re: [dpdk-dev] [PATCH] vhost: add support to large linear mbufs

2019-10-02 Thread Maxime Coquelin
Hi Flavio, On 10/2/19 12:19 AM, Flavio Leitner wrote: > The rte_vhost_dequeue_burst supports two ways of dequeuing data. If > the data fits into a buffer, then all data is copied and a single > linear buffer is returned. Otherwise it allocates additional mbufs > and chains them together to return

Re: [dpdk-dev] [PATCH] vhost: add support to large linear mbufs

2019-10-01 Thread Shahaf Shuler
Wednesday, October 2, 2019 1:20 AM, Flavio Leitner: > Subject: [dpdk-dev] [PATCH] vhost: add support to large linear mbufs > > The rte_vhost_dequeue_burst supports two ways of dequeuing data. If the > data fits into a buffer, then all data is copied and a single linear buffer i

Re: [dpdk-dev] [PATCH] vhost: add support to large linear mbufs

2019-10-01 Thread Flavio Leitner
On Tue, 1 Oct 2019 19:19:35 -0300 Flavio Leitner wrote: > The rte_vhost_dequeue_burst supports two ways of dequeuing data. If > the data fits into a buffer, then all data is copied and a single > linear buffer is returned. Otherwise it allocates additional mbufs > and chains them together to ret

[dpdk-dev] [PATCH] vhost: add support to large linear mbufs

2019-10-01 Thread Flavio Leitner
The rte_vhost_dequeue_burst supports two ways of dequeuing data. If the data fits into a buffer, then all data is copied and a single linear buffer is returned. Otherwise it allocates additional mbufs and chains them together to return a multiple segments mbuf. While that covers most use cases, it