nsim: limit tx burst size and refactor input node
[vpp.git] / src / plugins / nsim / nsim.h
index 7222a96..d7d32b9 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;