From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] librte_ip_frag: Disable ipv4/v6 fragmentation if RTE_MBUF_REFCNT=n Date: Thu, 30 Oct 2014 00:50:22 +0100 Message-ID: <2313497.2xT9A9VhmH@xps13> 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> <20141028120115.GA20945@sivswdev02.ir.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Pablo de Lara Return-path: In-Reply-To: <20141028120115.GA20945-IWE99D/oH1/+pXziaqXtF9h3ngVCH38I@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" > > 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 > > Acked-by: Sergio Gonzalez Monroy Applied Thanks -- Thomas