diff options
author | Florin Coras <fcoras@cisco.com> | 2022-01-03 14:32:26 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2022-01-04 22:22:48 +0000 |
commit | a121ac599aae8dd9c1344e6f835866b4b03c7d5c (patch) | |
tree | 6d51280e2bb09efc71bf72eb6dc041171d54fea7 /src/plugins/nsim/nsim.h | |
parent | 67cc0a6922d41b34d251e08ce0ba0c9c58525e4f (diff) |
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 <fcoras@cisco.com>
Change-Id: I616fa96237c5e06d9c809bb5c2e0bed0447f2c4d
Diffstat (limited to 'src/plugins/nsim/nsim.h')
-rw-r--r-- | src/plugins/nsim/nsim.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; |