diff options
author | Florin Coras <fcoras@cisco.com> | 2020-07-31 13:56:40 -0700 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2020-07-31 13:57:24 -0700 |
commit | 9811007f5f2c9cdc6219607a2a0e002054a07efd (patch) | |
tree | 85e98103188ff6e9e43815c5c91b1c5819299fb4 /src/plugins/nsim/nsim.h | |
parent | e6c3e8f0ee47799c76bdca362c4d75af62aacac3 (diff) |
nsim: limit tx burst size and refactor input node
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ic93a598051d437a5801d794b678edf6e73d42a47
Diffstat (limited to 'src/plugins/nsim/nsim.h')
-rw-r--r-- | src/plugins/nsim/nsim.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/nsim/nsim.h b/src/plugins/nsim/nsim.h index 7222a96dcb4..d7d32b9d234 100644 --- a/src/plugins/nsim/nsim.h +++ b/src/plugins/nsim/nsim.h @@ -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; |