mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
1abcdbd127
CPU for too long period than necessary. Additively, interfaces are kept polled (in the tick) even if no more packets are available. In order to avoid such situations a new generic mechanism can be implemented in proactive way, keeping track of the time spent on any packet and fragmenting the time for any tick, stopping the processing as soon as possible. In order to implement such mechanism, the polling handler needs to change, returning the number of packets processed. While the intended logic is not part of this patch, the polling KPI is broken by this commit, adding an int return value and the new flag IFCAP_POLLING_NOCOUNT (which will signal that the return value is meaningless for the installed handler and checking should be skipped). Bump __FreeBSD_version in order to signal such situation. Reviewed by: emaste Sponsored by: Sandvine Incorporated |
||
---|---|---|
.. | ||
alpm.c | ||
amdpm.c | ||
amdsmb.c | ||
if_rl.c | ||
if_rlreg.h | ||
intpm.c | ||
intpmreg.h | ||
locate.pl | ||
ncr.c | ||
ncrreg.h | ||
nfsmb.c | ||
viapm.c |