diff options
author | Hanoh Haim <hhaim@cisco.com> | 2015-12-29 00:30:09 +0200 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2015-12-29 00:30:09 +0200 |
commit | 9e16960d1502524ae00df83e3d1c05ddbb2487c7 (patch) | |
tree | 8085fa93b41e5c943763fe7e1035672c9e11a361 /src/stateless/dp | |
parent | fbcdbcdf05f495a02e62ee8bb6146d266147aefa (diff) |
trim packet size command works
Diffstat (limited to 'src/stateless/dp')
-rw-r--r-- | src/stateless/dp/trex_stateless_dp_core.cpp | 2 |
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 */ |