summaryrefslogtreecommitdiffstats
path: root/src/debug.cpp
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-11-10 21:20:11 +0200
committerHanoh Haim <hhaim@cisco.com>2016-11-11 12:22:51 +0200
commit50746d0dc7db5cb49bfd6ab9e5942ecdea694734 (patch)
tree7537152fa67cd50f5839039d6f69fd47e928838c /src/debug.cpp
parent1ec8425e4664083682469da1ac969654524f711d (diff)
mlx5 reduce the number of packets
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'src/debug.cpp')
-rw-r--r--src/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.cpp b/src/debug.cpp
index 3a9cd506..86ed0df0 100644
--- a/src/debug.cpp
+++ b/src/debug.cpp
@@ -341,7 +341,7 @@ int CTrexDebug::verify_hw_rules(bool recv_all) {
rte_mbuf_t *m = NULL;
CPhyEthIF * lp;
rte_mbuf_t * rx_pkts[32];
- int sent_num = 20;
+ int sent_num = 8; /* reduce the size, there are driver that can handle only burst of 8 in QUEUE 0 */
int ret = 0;
for (int pkt_num = 0; pkt_num < sizeof(test_pkts) / sizeof (test_pkts[0]); pkt_num++) {