[PATCH v3 1/1] app/testpmd: add GPU memory option for mbuf pools

Stephen Hemminger stephen at networkplumber.org
Tue Nov 16 22:34:49 CET 2021


On Wed, 17 Nov 2021 03:04:59 +0000
<eagostini at nvidia.com> wrote:

> From: Elena Agostini <eagostini at nvidia.com>
> 
> 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.
> 
> Signed-off-by: Elena Agostini <eagostini at nvidia.com>

Won't this create a hard dependency of test-pmd on gpudev?
I thought gpudev was supposed to be optional



More information about the dev mailing list