app/test: lpm6 perf autotest fix lpm delete total time
PATCH 1/1 app/test: lpm6 perf autotest fix lpm delete total time
Make total_time from '+='' to '=' when test rte_lpm6_delete
Signed-off-by Su Sai <[email protected]>
--- .mailmap | 1 + app/test/test_lpm6_perf.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
.mailmap +1 -0
@@ -1644,6 +1644,7 @@ Sunyang Wu <[email protected]> Surabhi Boob <[email protected]> Sushmita Hoskeri <[email protected]> Suyang Ju <[email protected]> +Su Sai <[email protected]> <[email protected]> Sylvain Rodon <[email protected]> Sylvia Grundwürmer <[email protected]> Sylwester Dziedziuch <[email protected]>
app/test/test_lpm6_perf.c +1 -1
@@ -148,7 +148,7 @@ test_lpm6_perf(void) large_route_table[i].depth); } - total_time +=rte_rdtsc () - begin; + total_time =rte_rdtsc () - begin;printf ("Average LPM Delete: %g cycles\n" , (double )total_time /NUM_ROUTE_ENTRIES );
Signature · 1 line
2.39.2 (Apple Git-143)
Thomas Monjalon
Applied19/08/2026 04:28, Su Sai:
Quoted 3 lines
Make
total_timefrom '+='' to '=' when testrte_lpm6_deleteSigned-off-by Su Sai <[email protected]>
Fixes 5c510e13a9cb ("lpm: add IPv6 support")
Applied, thanks