summaryrefslogtreecommitdiffstats
path: root/src/stateless/dp
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2015-12-29 00:30:09 +0200
committerHanoh Haim <hhaim@cisco.com>2015-12-29 00:30:09 +0200
commit9e16960d1502524ae00df83e3d1c05ddbb2487c7 (patch)
tree8085fa93b41e5c943763fe7e1035672c9e11a361 /src/stateless/dp
parentfbcdbcdf05f495a02e62ee8bb6146d266147aefa (diff)
trim packet size command works
Diffstat (limited to 'src/stateless/dp')
-rw-r--r--src/stateless/dp/trex_stateless_dp_core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stateless/dp/trex_stateless_dp_core.cpp b/src/stateless/dp/trex_stateless_dp_core.cpp
index 6e936fc8..4e814d4c 100644
--- a/src/stateless/dp/trex_stateless_dp_core.cpp
+++ b/src/stateless/dp/trex_stateless_dp_core.cpp
@@ -171,7 +171,7 @@ rte_mbuf_t * CGenNodeStateless::alloc_node_with_vm(){
rte_mbuf_t * mi= CGlobalInfo::pktmbuf_alloc_small(get_socket_id());
assert(mi);
rte_pktmbuf_attach(mi,m_const);
- utl_rte_pktmbuf_add_after(m,mi);
+ utl_rte_pktmbuf_add_after2(m,mi);
if ( pkt_new_size < m->pkt_len) {
/* need to trim it */