From: Thomas Monjalon Subject: Re: app: fix refcnt in mbuf allocation Date: Mon, 6 May 2013 18:13:50 +0200 Message-ID: <201305061813.50527.thomas.monjalon@6wind.com> References: <20130506135616.GN12221@6wind.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: "Han, Dongsu" Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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