]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_ip_frag/rte_ipv6_fragmentation.c
net/mlx5: handle Rx CQE compression
[dpdk.git] / lib / librte_ip_frag / rte_ipv6_fragmentation.c
index 1e30004f26f025fd30f6f6ae55c23997e3405278..db666bbfa3636ee71f179a75111aeef8ddbcd38f 100644 (file)
@@ -110,7 +110,7 @@ rte_ipv6_fragment_packet(struct rte_mbuf *pkt_in,
        frag_size = (uint16_t)(mtu_size - sizeof(struct ipv6_hdr));
 
        /* Fragment size should be a multiple of 8. */
        frag_size = (uint16_t)(mtu_size - sizeof(struct ipv6_hdr));
 
        /* Fragment size should be a multiple of 8. */
-       IP_FRAG_ASSERT((frag_size & ~RTE_IPV6_EHDR_FO_MASK) == 0);
+       RTE_ASSERT((frag_size & ~RTE_IPV6_EHDR_FO_MASK) == 0);
 
        /* Check that pkts_out is big enough to hold all fragments */
        if (unlikely (frag_size * nb_pkts_out <
 
        /* Check that pkts_out is big enough to hold all fragments */
        if (unlikely (frag_size * nb_pkts_out <