On 09/16/2015 09:53 AM, Maxim Uvarov wrote: > + pkt_ref = odp_packet_create_ref(pkt); > + /* Handles should be different */ > + CU_ASSERT(pkt != pkt_ref); > + /* Debug print also should have refcount bits */ > + CU_ASSERT(odp_packet_to_u64(pkt) != > + odp_packet_to_u64(pkt_ref)); > + Isn't this implementation specific ? We replaced a lot of handles with pointers for performance reasons. In that case, both pkt refs would be the same.
Nicolas _______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
