From 03a6213fb5022d37ea92f974a1814db1c70bcbdf Mon Sep 17 00:00:00 2001 From: Mohammed Hawari Date: Tue, 18 Jul 2017 09:25:01 +0200 Subject: ping: fixing wrong value when there are worker threads - the echo_reply_node is now notifying the cli process on the main thread/vlib_main - the timestamp for the icmp reply is now acquired in the echo_reply_node and not in the cli process to avoid an off by 10ms error (see 【vpp-dev】delay is error in ping with multi worker thread) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I21d37002b0376b4f2ccab08d8f04c2f2944b9b39 Signed-off-by: Mohammed Hawari --- src/vnet/ip/ping.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet/ip/ping.h') diff --git a/src/vnet/ip/ping.h b/src/vnet/ip/ping.h index 0af9d5871f1..b1b71f685fe 100644 --- a/src/vnet/ip/ping.h +++ b/src/vnet/ip/ping.h @@ -43,6 +43,7 @@ typedef struct ping_run_t u16 icmp_id; u16 curr_seq; uword cli_process_id; + uword cli_thread_index; } ping_run_t; typedef struct ping_main_t -- cgit 1.2.3-korg