summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2015-12-28 23:11:02 +0200
committerHanoh Haim <hhaim@cisco.com>2015-12-28 23:11:02 +0200
commitfbcdbcdf05f495a02e62ee8bb6146d266147aefa (patch)
treee09bedc3b4b3eebb515f09e8044c09ca80fab45e
parenta1364603328fc8295216038c495f929573855a90 (diff)
fix simulation stats
-rwxr-xr-xsrc/bp_sim.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bp_sim.h b/src/bp_sim.h
index 36e0cb49..471d7639 100755
--- a/src/bp_sim.h
+++ b/src/bp_sim.h
@@ -411,10 +411,6 @@ public:
#define CONST_NB_MBUF 16380
-
-//#define MAX_BUF_SIZE (2048)
-#define CONST_MBUF_SIZE (MAX_BUF_SIZE + sizeof(struct rte_mbuf) + RTE_PKTMBUF_HEADROOM)
-
/* this is the first small part of the packet that we manipulate */
#define FIRST_PKT_SIZE 64
#define CONST_SMALL_MBUF_SIZE (FIRST_PKT_SIZE + sizeof(struct rte_mbuf) + RTE_PKTMBUF_HEADROOM)
@@ -3102,7 +3098,11 @@ public:
SIZE_512 = 512,
SIZE_1024 = 1024,
SIZE_2048 = 2048,
- MASK_SIZE =6
+ SIZE_4096 = 4096,
+ SIZE_8192 = 8192,
+ SIZE_16384 = 16384,
+
+ MASK_SIZE =9
};
void clear(){