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,

^ 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

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git