RE: [PATCH v1 1/2] net/memif: add a Rx fast path

2022-05-19 Thread Joyce Kong
> -Original Message- > From: Ferruh Yigit > Sent: Thursday, May 19, 2022 1:06 AM > To: Joyce Kong ; Jakub Grajciar > Cc: Ruifeng Wang ; dev@dpdk.org; nd > > Subject: Re: [PATCH v1 1/2] net/memif: add a Rx fast path > > On 5/17/2022 11:51 AM, Joyce Kong wr

RE: [PATCH v1 1/2] net/memif: add a Rx fast path

2022-05-19 Thread Joyce Kong
> -Original Message- > From: Joyce Kong > Sent: Thursday, May 19, 2022 3:00 PM > To: Ferruh Yigit ; Jakub Grajciar > > Cc: Ruifeng Wang ; dev@dpdk.org; nd > > Subject: RE: [PATCH v1 1/2] net/memif: add a Rx fast path > > Hi Ferruh, > > >

RE: [PATCH v1 1/2] net/memif: add a Rx fast path

2022-05-19 Thread Joyce Kong
Hi Ferruh, > -Original Message- > From: Ferruh Yigit > Sent: Thursday, May 19, 2022 12:53 AM > To: Joyce Kong ; Jakub Grajciar > Cc: Ruifeng Wang ; dev@dpdk.org; nd > > Subject: Re: [PATCH v1 1/2] net/memif: add a Rx fast path > > On 5/17/2022 11:51 AM, Joyc

Re: [PATCH v1 1/2] net/memif: add a Rx fast path

2022-05-18 Thread Ferruh Yigit
On 5/17/2022 11:51 AM, Joyce Kong wrote: For memif non-zero-copy mode, there is a branch to compare the mbuf and memif buffer size during memory copying. Add a fast memory copy path by removing this branch with mbuf and memif buffer size defined at compile time. The removal of the branch leads to

Re: [PATCH v1 1/2] net/memif: add a Rx fast path

2022-05-18 Thread Ferruh Yigit
On 5/17/2022 11:51 AM, Joyce Kong wrote: For memif non-zero-copy mode, there is a branch to compare the mbuf and memif buffer size during memory copying. Add a fast memory copy path by removing this branch with mbuf and memif buffer size defined at compile time. The removal of the branch leads to