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.savolai...@nokia.com>
---
 test/performance/odp_l2fwd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/performance/odp_l2fwd.c b/test/performance/odp_l2fwd.c
index e4def80..f733440 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
-- 
2.6.2

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to