From: Su Sai <spiderdetective.ss@gmail.com>
To: dev@dpdk.org
Cc: thomas.monjalon@6wind.com, spiderdetective.ss@gmail.com
Subject: [PATCH] app/test: lpm6 perf autotest fix lpm delete total time
Date: Wed, 19 Aug 2026 10:28:44 +0800 [thread overview]
Message-ID: <20260819022844.58986-1-spiderdetective.ss@gmail.com> (raw)
[-- 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)
reply other threads:[~2026-08-19 2:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260819022844.58986-1-spiderdetective.ss@gmail.com \
--to=spiderdetective.ss@gmail.com \
--cc=dev@dpdk.org \
--cc=thomas.monjalon@6wind.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.