devtools: fix required memory for null test
PATCH 1/1 devtools: fix required memory for null test
The testpmd fails in memory allocation since some ethdev structs have been extended.
Increasing memory allocation from 150 to 300 MB makes it working again.
Fixes 436b3a6b6e62 ("ethdev: reserve space in main structs for extension")
Signed-off-by Thomas Monjalon <[email protected]>
--- devtools/test-null.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
devtools/test-null.sh +1 -1
@@ -25,6 +25,6 @@ else fi (sleep 1 && echo stop) | -$testpmd -c $coremask --no-huge -m 150 \ +$testpmd -c $coremask --no-huge -m 300 \ $libs --vdev net_null1 --vdev net_null2 $eal_options -- \ --no-mlockall --total-num-mbufs=2048 $testpmd_options -ia
Signature · 1 line
2.23.0
Quoted 6 lines · Thomas Monjalon
The testpmd fails in memory allocation since some ethdev structs have been extended.
Increasing memory allocation from 150 to 300 MB makes it working again.Fixes 436b3a6b6e62 ("ethdev: reserve space in main structs for extension")
Fixed with https://patchwork.dpdk.org/patch/63226/
Marking as rejected.
Signature · 1 line
David Marchand