I'd like to submit a patch which changes the behavior of rte_hash_iterate such that it will only check a small number of hash table positions (maybe 32), and if they're all empty, return -EAGAIN.
This will enable a user to call the function in a main packet processing loop to do garbage collection on a hash table. Would such a change be welcome? Thanks in advance, Reuben