app/testpmd: fix packet burst spreading stats
[dpdk.git] / app / test-pmd / testpmd.h
index bf36691..071e4e7 100644 (file)
@@ -96,7 +96,7 @@ enum {
  * that are recorded for each forwarding stream.
  */
 struct pkt_burst_stats {
-       unsigned int pkt_burst_spread[MAX_PKT_BURST];
+       unsigned int pkt_burst_spread[MAX_PKT_BURST + 1];
 };
 
 /** Information for a given RSS type. */