summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2015-09-09 16:08:01 +0300
committerHanoh Haim <hhaim@cisco.com>2015-09-09 16:08:01 +0300
commite3d08af5784e13c223d93efd6447764a21789ccb (patch)
tree592b8f2c502d1baaa50098f9e4d0b8ffe349f060 /src
parent6c3eb52907ce7d4a4ec36ce65d5871caed0c763d (diff)
parent2e5fdf7cc07549de848ef3396c9301c7a317f966 (diff)
Merge branch 'master' of https://github.com/wofanli/trex-core into wen
Diffstat (limited to 'src')
-rwxr-xr-xsrc/bp_sim.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bp_sim.h b/src/bp_sim.h
index 804c936a..29b9a724 100755
--- a/src/bp_sim.h
+++ b/src/bp_sim.h
@@ -1376,17 +1376,17 @@ public:
//private:
+ CTupleGeneratorSmart *m_tuple_gen;
// cache line 1 - 64bytes waste of space !
uint32_t m_nat_external_ipv4; /* client */
uint32_t m_nat_external_ipv4_server;
uint16_t m_nat_external_port;
- uint16_t m_nat_pad;
+ uint16_t m_nat_pad[3];
mac_addr_align_t m_src_mac;
- CTupleGeneratorSmart *m_tuple_gen;
uint32_t m_src_idx;
uint32_t m_dest_idx;
- uint32_t m_end_of_cache_line[10];
+ uint32_t m_end_of_cache_line[6];
public:
bool operator <(const CGenNode * rsh ) const {
@@ -1592,7 +1592,7 @@ public:
#if __x86_64__
/* size of 64 bytes */
- #define DEFER_CLIENTS_NUM (18)
+ #define DEFER_CLIENTS_NUM (16)
#else
#define DEFER_CLIENTS_NUM (16)
#endif