Hi Dave, What if just to use highest bit of key as free mark?
While having clib_crc32c_uses_intrinsics defined, hash result will be 32bit only, highest bit of 64bit key is completely “free”. If not defined, - highest but can be just stripped off while computation in clib_bihash_*. With such approach, 64bit key update will be atomic, no special (and therefore – never about to be used) value will be necessary, can it work? -- Best Regards, Vladislav Grishenko
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22715): https://lists.fd.io/g/vpp-dev/message/22715 Mute This Topic: https://lists.fd.io/mt/97599770/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] -=-=-=-=-=-=-=-=-=-=-=-