aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKorian Edeline <korian.edeline@ulg.ac.be>2019-05-24 15:40:08 +0200
committerDave Barach <openvpp@barachs.net>2019-05-28 18:45:33 +0000
commit883a8672c14085b61450599188d04317c45f5d12 (patch)
tree37efc7bd82bcad1daead366d71c62c88d1ea2776 /src
parent65e410b3f3d70cd60cf5f84461063682be626cc5 (diff)
nsim: remove buffer u32 upper bound
Extreme BDP flows requires more buffer memory. Change-Id: I1134be248c6bdd719fa1a033bca41414ceb73371 Signed-off-by: Korian Edeline <korian.edeline@ulg.ac.be>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/nsim/nsim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nsim/nsim.c b/src/plugins/nsim/nsim.c
index 61d74b0a011..a8c00337364 100644
--- a/src/plugins/nsim/nsim.c
+++ b/src/plugins/nsim/nsim.c
@@ -188,7 +188,7 @@ nsim_configure (nsim_main_t * nsm, f64 bandwidth, f64 delay, f64 packet_size,
nsm->drop_fraction = drop_fraction;
/* delay in seconds, bandwidth in bits/sec */
- total_buffer_size_in_bytes = (u32) ((delay * bandwidth) / 8.0) + 0.5;
+ total_buffer_size_in_bytes = ((delay * bandwidth) / 8.0) + 0.5;
/*
* Work out how much buffering each worker needs, assuming decent