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

2014-10-30 Thread Thomas Monjalon
> > 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,

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

2014-10-28 Thread Sergio Gonzalez Monroy
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

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

2014-10-22 Thread Pablo de Lara
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.