[dpdk-dev] app: fix refcnt in mbuf allocation

Thomas Monjalon thomas.monjalon at 6wind.com
Mon May 6 18:13:50 CEST 2013


06/05/2013 17:47, Han, Dongsu :
> In addition to this, we should probably clone pkt mbuf using
> rte_pktmbuf_clone()
> and transmit the cloned packet. This will avoid having to copy the mac and
> IP headers.

Yes, it could be faster but it is not always possible because 
rte_pktmbuf_clone() is available only if the feature RTE_MBUF_SCATTER_GATHER 
is enabled.

-- 
Thomas


More information about the dev mailing list