Skip to content

app/testpmd: add GPU memory option for mbuf pools

[email protected] dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest1 patch 1 replyIn review
  2. v31 patch 13 repliesSuperseded

Changelog from the cover letter

- gpudev dependency is optional

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1app/testpmd: add GPU memory option for mbuf poolsapp/test-pmd/cmdline.c app/test-pmd/config.c app/test-pmd/icmpecho.c +4 more+240 -201 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/1] app/testpmd: add GPU memory option for mbuf pools

From: Elena Agostini <[email protected]>

This patch introduces GPU memory in testpmd through the gpudev library. Testpmd can be used for network benchmarks when using GPU memory instead of regular CPU memory to send and receive packets. This option is currently limited to iofwd engine to ensure no workload is applied on packets not accessible from the CPU.

The options chose is --mbuf-size so buffer split feature across different mempools can be enabled.

Main reasons for this patch are:
- test memory features like external memory mempools and buffer split
- provide an upstream tool to test network metrics with GPU memory

Changelog:
- gpudev dependency is optional

Elena Agostini (1):
app/testpmd: add GPU memory option for mbuf pools

 app/test-pmd/cmdline.c    |  36 +++++++-
 app/test-pmd/config.c     |   4 +-
 app/test-pmd/icmpecho.c   |   2 +-
 app/test-pmd/meson.build  |   3 +
 app/test-pmd/parameters.c |  15 +++-
 app/test-pmd/testpmd.c    | 182 +++++++++++++++++++++++++++++++++++---
 app/test-pmd/testpmd.h    |  18 +++-
 7 files changed, 240 insertions(+), 20 deletions(-)
Signature · 1 line
2.17.1