Hi

It seems to be useful to be able to compare two ODP handles. For example
compare odp_packet_pool() return value with previously created
pool to check that packet is from that pool.

ODP types are opaques handles, so comparing them directly with == may
give a wrong results. For example handles that point to the same object
(queue, pool, etc) can have generation number in it, so direct
comparison will return false.

Do we need to add corresponding comparison API for each handle type? Or
we just say that any two handles of the same ODP object should be equal
and == is enough?

-- 
Taras Kondratiuk

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to