[PATCH v3 3/3] examples/dma: add force minimal copy size parameter
Kevin Laatz
kevin.laatz at intel.com
Wed Apr 27 12:54:36 CEST 2022
On 24/04/2022 07:07, Chengwen Feng wrote:
> This patch adds force minimal copy size parameter
> (-m/--force-min-copy-size), so when do copy by CPU or DMA, the real copy
> size will be the maximum of mbuf's data_len and this parameter.
>
> This parameter was designed to compare the performance between CPU copy
> and DMA copy. User could send small packets with a high rate to drive
> the performance test.
>
> Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
> examples/dma/dmafwd.c | 30 +++++++++++++++++++++++++++---
> 1 file changed, 27 insertions(+), 3 deletions(-)
Acked-by: Kevin Laatz <kevin.laatz at intel.com>
More information about the dev
mailing list