RE: [PATCH v1 0/2] add a fast path for memif Rx/Tx

2022-05-17 Thread Ruifeng Wang
> -Original Message- > From: Joyce Kong > Sent: Tuesday, May 17, 2022 6:51 PM > Cc: Ruifeng Wang ; dev@dpdk.org; nd > ; Joyce Kong > Subject: [PATCH v1 0/2] add a fast path for memif Rx/Tx > > For memif non-zero-copy mode, there is a branch to compare the mbuf

RE: [PATCH v1 0/2] add a fast path for memif Rx/Tx

2022-05-17 Thread Morten Brørup
> From: Joyce Kong [mailto:joyce.k...@arm.com] > Sent: Tuesday, 17 May 2022 12.51 > > 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 a

[PATCH v1 0/2] add a fast path for memif Rx/Tx

2022-05-17 Thread Joyce Kong
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. And for Tx fast path, bulk free the mbufs which come from the same mempool.