diff mbox

[API-NEXT,RFC,28/31] validation: pktio: increasing number of rx pkts

Message ID 1452285014-60320-29-git-send-email-christophe.milard@linaro.org
State New
Headers show

Commit Message

Christophe Milard Jan. 8, 2016, 8:30 p.m. UTC
The number of RX packets in the RX packet pool has to be increased as
the driver will prefill its RX ring directely at init time,
hence consuming as many RX  packets as there are entries in the ring.

Signed-off-by: Christophe Milard <christophe.milard@linaro.org>
---
 test/validation/pktio/pktio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c
index 4beb681..ed1c300 100644
--- a/test/validation/pktio/pktio.c
+++ b/test/validation/pktio/pktio.c
@@ -13,7 +13,7 @@ 
 #include <stdlib.h>
 #include "pktio.h"
 
-#define PKT_BUF_NUM            32
+#define PKT_BUF_NUM            64
 #define PKT_BUF_SIZE           (9 * 1024)
 #define PKT_LEN_NORMAL         64
 #define PKT_LEN_JUMBO          (PKT_BUF_SIZE - ODPH_ETHHDR_LEN - \