> I did poke around hash.h but didn’t find the api I need. Would vpp > consider adding crc32 and crc16? ECMP and Network Packet Broker use > hashes.
We typically use crc32c if supported by HW or xxhash, see clib_bihash_hash_16_8_32() for example. For ECMP we also have ip4_compute_flow_hash() and ip6_compute_flow_hash() which supports various options (non-symmetric vs symmetric hash etc.). ben
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21839): https://lists.fd.io/g/vpp-dev/message/21839 Mute This Topic: https://lists.fd.io/mt/93350589/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-