1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sys/dev/firewire
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
..
00README
firewire_phy.h
firewire.c Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
firewire.h Introduce 1394a-2000 extended PHY Self ID packets. 2009-02-17 19:37:04 +00:00
firewirereg.h Protect transaction labels by its own lock to reduce lock contention. 2007-07-20 03:42:57 +00:00
fwcrom.c
fwdev.c Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
fwdma.c MFp4: MPSAFE firewire stack. 2007-06-06 14:31:36 +00:00
fwdma.h
fwmem.c MFp4: MPSAFE firewire stack. 2007-06-06 14:31:36 +00:00
fwmem.h
fwohci_pci.c remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00
fwohci.c Remove redundant while () from loop. 2009-02-13 17:44:07 +00:00
fwohcireg.h Update comments around various structs. 2009-02-12 03:05:42 +00:00
fwohcivar.h Delete fwohci_filt() as it is now unused 2009-02-03 17:13:37 +00:00
fwphyreg.h Update comments around various structs. 2009-02-12 03:05:42 +00:00
iec13213.h
iec68113.h
if_fwe.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_fwevar.h MFp4: MPSAFE firewire stack. 2007-06-06 14:31:36 +00:00
if_fwip.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_fwipvar.h MFp4: MPSAFE firewire stack. 2007-06-06 14:31:36 +00:00
sbp_targ.c Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
sbp.c Enhance debugging mode by storing the string "BB:TT:LL" once and use 2009-02-18 18:41:34 +00:00
sbp.h Minor updates as a precursor to fixing sbp_targ 2009-04-07 02:33:46 +00:00