DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] rte_hash_iterate EAGAIN limit
@ 2020-10-27 21:25 Reuben Hawkins
  0 siblings, 0 replies; only message in thread
From: Reuben Hawkins @ 2020-10-27 21:25 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-27 21:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-27 21:25 [dpdk-dev] rte_hash_iterate EAGAIN limit Reuben Hawkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).