summaryrefslogtreecommitdiffstats
path: root/src/stateless/dp/trex_stateless_dp_core.cpp
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-05-09 18:35:12 +0300
committerHanoh Haim <hhaim@cisco.com>2016-05-09 18:35:12 +0300
commit4d319010eaeb17cce9af55ef00feb71a6930c931 (patch)
treef24ff342607de2985cf70a83fa56af1bf9aaa863 /src/stateless/dp/trex_stateless_dp_core.cpp
parent8b4df27252f317b33e11a626997748971625a47c (diff)
fix cache splitter
Diffstat (limited to 'src/stateless/dp/trex_stateless_dp_core.cpp')
-rw-r--r--src/stateless/dp/trex_stateless_dp_core.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/stateless/dp/trex_stateless_dp_core.cpp b/src/stateless/dp/trex_stateless_dp_core.cpp
index 4bfeef4b..7e9bec1d 100644
--- a/src/stateless/dp/trex_stateless_dp_core.cpp
+++ b/src/stateless/dp/trex_stateless_dp_core.cpp
@@ -678,10 +678,7 @@ void TrexStatelessDpCore::replay_vm_into_cache(TrexStream * stream,
assert(cache_size>0);
rte_mbuf_t * m=0;
- /* TBD do we have enough from this type of object , need to ask ! */
-
uint32_t buf_size = CGenNodeCacheMbuf::get_object_size(cache_size);
- /* TBD replace with align, zero API */
CGenNodeCacheMbuf * p = (CGenNodeCacheMbuf *)malloc(buf_size);
assert(p);
memset(p,0,buf_size);