freebsd-dev/sys/pci
Attilio Rao 1abcdbd127 When user_frac in the polling subsystem is low it is going to busy the
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
2009-05-30 15:14:44 +00:00
..
alpm.c Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
amdpm.c - Use bus_foo() rather than bus_space_foo() and remove bus space tag/handle 2008-06-06 18:29:56 +00:00
amdsmb.c - Use bus_foo() rather than bus_space_foo() and remove bus space tag/handle 2008-06-06 18:29:56 +00:00
if_rl.c When user_frac in the polling subsystem is low it is going to busy the 2009-05-30 15:14:44 +00:00
if_rlreg.h For RTL8139C+ controllers, have controller handle padding short 2009-04-20 07:13:04 +00:00
intpm.c intpm: minor enhancements 2009-03-16 16:15:14 +00:00
intpmreg.h Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
locate.pl
ncr.c Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
ncrreg.h Fix typos from previous commit. 2005-01-07 05:01:24 +00:00
nfsmb.c Add the SMB functionality for the MCP65 chipset I happen to 2008-06-18 20:39:56 +00:00
viapm.c The callback takes a void *, not a caddr_t * (sic). 2009-03-03 18:54:57 +00:00