* [PATCH] app/test: lpm6 perf autotest fix lpm delete total time
@ 2026-08-19 2:28 Su Sai
0 siblings, 0 replies; only message in thread
From: Su Sai @ 2026-08-19 2:28 UTC (permalink / raw)
To: dev; +Cc: thomas.monjalon, spiderdetective.ss
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 1167 bytes --]
Make total_time from '+='' to '=' when test rte_lpm6_delete
Signed-off-by: Su Sai <spiderdetective.ss@gmail.com>
---
.mailmap | 1 +
app/test/test_lpm6_perf.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.mailmap b/.mailmap
index fcb3d1bb3f..1bd625811b 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1644,6 +1644,7 @@ Sunyang Wu <sunyang.wu@jaguarmicro.com>
Surabhi Boob <surabhi.boob@intel.com>
Sushmita Hoskeri <sushmita.hoskeri@intel.com>
Suyang Ju <sju@paloaltonetworks.com>
+Su Sai <spiderdetective.ss@gmail.com> <susai.ss@bytedance.com>
Sylvain Rodon <srn@nexatech.fr>
Sylvia Grundwürmer <sylvia.grundwuermer@b-plus.com>
Sylwester Dziedziuch <sylwesterx.dziedziuch@intel.com>
diff --git a/app/test/test_lpm6_perf.c b/app/test/test_lpm6_perf.c
index 1860a99ed6..7b295a5752 100644
--- a/app/test/test_lpm6_perf.c
+++ b/app/test/test_lpm6_perf.c
@@ -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);
--
2.39.2 (Apple Git-143)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-19 2:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-19 2:28 [PATCH] app/test: lpm6 perf autotest fix lpm delete total time Su Sai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.