From a121ac599aae8dd9c1344e6f835866b4b03c7d5c Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Mon, 3 Jan 2022 14:32:26 -0800 Subject: nsim: cli improvements - improve format and unformat of bandwidth and delay - integer packet size - track worker wheel size as config Type: improvement Signed-off-by: Florin Coras Change-Id: I616fa96237c5e06d9c809bb5c2e0bed0447f2c4d --- src/plugins/nsim/nsim.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/nsim/nsim.h') diff --git a/src/plugins/nsim/nsim.h b/src/plugins/nsim/nsim.h index d7d32b9d234..b35a1c685de 100644 --- a/src/plugins/nsim/nsim.h +++ b/src/plugins/nsim/nsim.h @@ -101,9 +101,10 @@ typedef struct /* Config parameters */ f64 delay; f64 bandwidth; - f64 packet_size; f64 drop_fraction; f64 reorder_fraction; + u32 packet_size; + u32 wheel_slots_per_wrk; u32 poll_main_thread; u64 mmap_size; -- cgit 1.2.3-korg