aboutsummaryrefslogtreecommitdiff
path: root/test/performance
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@nokia.com>2015-10-30 11:25:03 +0200
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-11-03 16:36:30 +0300
commitd342309d581ad37df829694d53f9408525d0d19e (patch)
tree687ed90ba41eea4b77548d6ef8b330232076a1a4 /test/performance
parent48fea36050369f61eca9484c6750bf5f8e825a56 (diff)
test: l2fwd: increase burst size
Increased burst size to 32. This improves packet rate about 15% with netmap, since system call rate is halved. No harm to any implementation, since implementation decides how many packets are returned. This is comparable to DPDK l2fwd burst size. Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Nicolas Morey-Chaisemartin <nmorey@kalray.eu> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'test/performance')
-rw-r--r--test/performance/odp_l2fwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/performance/odp_l2fwd.c b/test/performance/odp_l2fwd.c
index d73c38b33..59134963d 100644
--- a/test/performance/odp_l2fwd.c
+++ b/test/performance/odp_l2fwd.c
@@ -43,7 +43,7 @@
/** @def MAX_PKT_BURST
* @brief Maximum number of packet in a burst
*/
-#define MAX_PKT_BURST 16
+#define MAX_PKT_BURST 32
/**
* Packet input mode