hs-test: move nginx tests into one file
[vpp.git] / src / plugins / nsim / nsim.h
index 7222a96..b35a1c6 100644 (file)
@@ -25,6 +25,8 @@
 #include <vppinfra/hash.h>
 #include <vppinfra/error.h>
 
+#define NSIM_MAX_TX_BURST 32   /**< max packets in a tx burst */
+
 typedef struct
 {
   f64 tx_time;
@@ -99,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;