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

Sergio Gonzalez Monroy sergio.gonzalez.monroy at intel.com
Tue Oct 28 13:01:16 CET 2014


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 <pablo.de.lara.guarch at intel.com>
> ---
>  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 <sergio.gonzalez.monroy at intel.com>



More information about the dev mailing list