[PATCH v3 3/3] test: add a test for null PMD

Stephen Hemminger stephen at networkplumber.org
Fri Jan 9 02:21:13 CET 2026


On Thu,  8 Jan 2026 12:40:48 -0800
Stephen Hemminger <stephen at networkplumber.org> wrote:

> Add a test for null PMD including different packet sizes
> and lockless transmit.
> 
> Original version of  test was generated with Claude based off
> of existing test_pmd_ring.c with some cleanup afterwards.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
>  app/test/meson.build     |   1 +
>  app/test/test_pmd_null.c | 968 +++++++++++++++++++++++++++++++++++++++
>  2 files changed, 969 insertions(+)
>  create mode 100644 app/test/test_pmd_null.c
> 
> diff --git a/app/test/meson.build b/app/test/meson.build
> index efec42a6bf..a45991ec34 100644
> --- a/app/test/meson.build
> +++ b/app/test/meson.build
> @@ -141,6 +141,7 @@ source_file_deps = {
>      'test_per_lcore.c': [],
>      'test_pflock.c': [],
>      'test_pie.c': ['sched'],
> +    'test_pmd_null.c': ['net_ring', 'ethdev', 'bus_vdev'],

Should be net_null here not net_ring


More information about the dev mailing list