Reworks idling and purging of hash table entries to make it faster

This commit is contained in:
Simone Mainardi 2019-10-24 15:48:18 +02:00
parent d1d789ea88
commit 955eed4b50
15 changed files with 178 additions and 157 deletions

View file

@ -294,8 +294,7 @@ class NetworkInterface : public AlertableEntity {
bool walk_all,
WalkerType wtype,
bool (*walker)(GenericHashEntry *h, void *user_data, bool *entryMatched),
void *user_data,
bool walk_idle = false /* Should never walk idle unless in ViewInterface::flowPollLoop */);
void *user_data);
void checkDisaggregationMode();
inline void setCPUAffinity(int core_id) { cpu_affinity = core_id; };