Skip to main content

MAX_FIND_CACHE_ENTRIES

Constant MAX_FIND_CACHE_ENTRIES 

Source
const MAX_FIND_CACHE_ENTRIES: usize = 64;
Expand description

Upper bound on cached pci/find results.

The (vendor, device) key space is 2^32: without a cap, a client reading many distinct find paths would grow the cache unboundedly (memory-exhaustion DoS on the scheme server).