Re: [dpdk-dev] [PATCH v2 1/6] mbuf: add buffer offset field for flexible indirection

2018-04-12 Thread Yongseok Koh
On Thu, Apr 12, 2018 at 04:34:56PM +, Ananyev, Konstantin wrote: > > > > > > > > > > > > > > > On Mon, Apr 09, 2018 at 06:04:34PM +0200, Olivier Matz wrote: > > > > > > > Hi Yongseok, > > > > > > > > > > > > > > On Tue, Apr 03, 2018 at 05:12:06PM -0700, Yongseok Koh wrote: > > > > > > > > On Tu

Re: [dpdk-dev] [PATCH v2 1/6] mbuf: add buffer offset field for flexible indirection

2018-04-12 Thread Ananyev, Konstantin
> > > > > > > > > > > > On Mon, Apr 09, 2018 at 06:04:34PM +0200, Olivier Matz wrote: > > > > > > Hi Yongseok, > > > > > > > > > > > > On Tue, Apr 03, 2018 at 05:12:06PM -0700, Yongseok Koh wrote: > > > > > > > On Tue, Apr 03, 2018 at 10:26:15AM +0200, Olivier Matz wrote: > > > > > > > > Hi, > > >

Re: [dpdk-dev] [PATCH v2 1/6] mbuf: add buffer offset field for flexible indirection

2018-04-11 Thread Yongseok Koh
On Wed, Apr 11, 2018 at 05:02:50PM +0300, Andrew Rybchenko wrote: > On 04/11/2018 02:39 PM, Ananyev, Konstantin wrote: > > Hi Yongseok, > > > > > > > On Mon, Apr 09, 2018 at 06:04:34PM +0200, Olivier Matz wrote: > > > > > > Hi Yongseok, > > > > > > > > > > > > On Tue, Apr 03, 2018 at 05:12:06PM -

Re: [dpdk-dev] [PATCH v2 1/6] mbuf: add buffer offset field for flexible indirection

2018-04-11 Thread Yongseok Koh
On Wed, Apr 11, 2018 at 11:39:47AM +, Ananyev, Konstantin wrote: > > Hi Yongseok, > > > > > > > > > On Mon, Apr 09, 2018 at 06:04:34PM +0200, Olivier Matz wrote: > > > > > Hi Yongseok, > > > > > > > > > > On Tue, Apr 03, 2018 at 05:12:06PM -0700, Yongseok Koh wrote: > > > > > > On Tue, Apr 03

Re: [dpdk-dev] [PATCH v2 1/6] mbuf: add buffer offset field for flexible indirection

2018-04-11 Thread Andrew Rybchenko
On 04/11/2018 02:39 PM, Ananyev, Konstantin wrote: Hi Yongseok, On Mon, Apr 09, 2018 at 06:04:34PM +0200, Olivier Matz wrote: Hi Yongseok, On Tue, Apr 03, 2018 at 05:12:06PM -0700, Yongseok Koh wrote: On Tue, Apr 03, 2018 at 10:26:15AM +0200, Olivier Matz wrote: Hi, On Mon, Apr 02, 2018 at

Re: [dpdk-dev] [PATCH v2 1/6] mbuf: add buffer offset field for flexible indirection

2018-04-11 Thread Ananyev, Konstantin
Hi Yongseok, > > > > > > On Mon, Apr 09, 2018 at 06:04:34PM +0200, Olivier Matz wrote: > > > > Hi Yongseok, > > > > > > > > On Tue, Apr 03, 2018 at 05:12:06PM -0700, Yongseok Koh wrote: > > > > > On Tue, Apr 03, 2018 at 10:26:15AM +0200, Olivier Matz wrote: > > > > > > Hi, > > > > > > > > > > > >

Re: [dpdk-dev] [PATCH v2 1/6] mbuf: add buffer offset field for flexible indirection

2018-04-10 Thread Yongseok Koh
; Wu, Jingjing > > ; adrien.mazarg...@6wind.com; > > nelio.laranje...@6wind.com; dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v2 1/6] mbuf: add buffer offset field for > > flexible indirection > > > > On Mon, Apr 09, 2018 at 06:04:34PM +0200, Olivier Matz

Re: [dpdk-dev] [PATCH v2 1/6] mbuf: add buffer offset field for flexible indirection

2018-04-10 Thread Ananyev, Konstantin
; Subject: Re: [dpdk-dev] [PATCH v2 1/6] mbuf: add buffer offset field for > flexible indirection > > On Mon, Apr 09, 2018 at 06:04:34PM +0200, Olivier Matz wrote: > > Hi Yongseok, > > > > On Tue, Apr 03, 2018 at 05:12:06PM -0700, Yongseok Koh wrote: > > >

Re: [dpdk-dev] [PATCH v2 1/6] mbuf: add buffer offset field for flexible indirection

2018-04-09 Thread Yongseok Koh
On Mon, Apr 09, 2018 at 06:04:34PM +0200, Olivier Matz wrote: > Hi Yongseok, > > On Tue, Apr 03, 2018 at 05:12:06PM -0700, Yongseok Koh wrote: > > On Tue, Apr 03, 2018 at 10:26:15AM +0200, Olivier Matz wrote: > > > Hi, > > > > > > On Mon, Apr 02, 2018 at 11:50:03AM -0700, Yongseok Koh wrote: > >

Re: [dpdk-dev] [PATCH v2 1/6] mbuf: add buffer offset field for flexible indirection

2018-04-09 Thread Olivier Matz
Hi Yongseok, On Tue, Apr 03, 2018 at 05:12:06PM -0700, Yongseok Koh wrote: > On Tue, Apr 03, 2018 at 10:26:15AM +0200, Olivier Matz wrote: > > Hi, > > > > On Mon, Apr 02, 2018 at 11:50:03AM -0700, Yongseok Koh wrote: > > > When attaching a mbuf, indirect mbuf has to point to start of buffer of >

Re: [dpdk-dev] [PATCH v2 1/6] mbuf: add buffer offset field for flexible indirection

2018-04-03 Thread Yongseok Koh
On Tue, Apr 03, 2018 at 10:26:15AM +0200, Olivier Matz wrote: > Hi, > > On Mon, Apr 02, 2018 at 11:50:03AM -0700, Yongseok Koh wrote: > > When attaching a mbuf, indirect mbuf has to point to start of buffer of > > direct mbuf. By adding buf_off field to rte_mbuf, this becomes more > > flexible. In

Re: [dpdk-dev] [PATCH v2 1/6] mbuf: add buffer offset field for flexible indirection

2018-04-03 Thread Olivier Matz
Hi, On Mon, Apr 02, 2018 at 11:50:03AM -0700, Yongseok Koh wrote: > When attaching a mbuf, indirect mbuf has to point to start of buffer of > direct mbuf. By adding buf_off field to rte_mbuf, this becomes more > flexible. Indirect mbuf can point to any part of direct mbuf by calling > rte_pktmbuf_

[dpdk-dev] [PATCH v2 1/6] mbuf: add buffer offset field for flexible indirection

2018-04-02 Thread Yongseok Koh
When attaching a mbuf, indirect mbuf has to point to start of buffer of direct mbuf. By adding buf_off field to rte_mbuf, this becomes more flexible. Indirect mbuf can point to any part of direct mbuf by calling rte_pktmbuf_attach_at(). Possible use-cases could be: - If a packet has multiple layer