From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergio Gonzalez Monroy Subject: Re: [PATCH v2] librte_ip_frag: Disable ipv4/v6 fragmentation if RTE_MBUF_REFCNT=n Date: Tue, 28 Oct 2014 12:01:16 +0000 Message-ID: <20141028120115.GA20945@sivswdev02.ir.intel.com> References: <1413900943-27711-1-git-send-email-pablo.de.lara.guarch@intel.com> <1413976621-27430-1-git-send-email-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev-VfR2kkLFssw@public.gmane.org To: Pablo de Lara Return-path: Content-Disposition: inline In-Reply-To: <1413976621-27430-1-git-send-email-pablo.de.lara.guarch-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> 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" On Wed, Oct 22, 2014 at 12:17:01PM +0100, Pablo de Lara wrote: > rte_ipv4_fragment_packet() and rte_ipv6_fragment packet() > call rte_pktmbuf_attach() to attach the segment of the original > packet to the segment of the new fragmented one. Such function > is not declared if RTE_MBUF_REFCNT is disabled, as it needs to > call rte_mbuf_refcnt_update, not declared either. > > Therefore, the ipv4/v6 fragmentation libraries are disabled > in that situation. > > Signed-off-by: Pablo de Lara > --- > lib/librte_ip_frag/Makefile | 6 +++++- > lib/librte_ip_frag/rte_ip_frag.h | 5 ++++- > 2 files changed, 9 insertions(+), 2 deletions(-) > Acked-by: Sergio Gonzalez Monroy