[dpdk-dev] [PATCH v2] librte_ip_frag: Disable ipv4/v6 fragmentation if RTE_MBUF_REFCNT=n

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Oct 30 00:50:22 CET 2014


> > 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 <pablo.de.lara.guarch at intel.com>
> 
> Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy at intel.com>

Applied

Thanks
-- 
Thomas


More information about the dev mailing list