#
7e857dd1 |
| 12-Jun-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- Merge from HEAD
|
#
8e45f0b7 |
| 11-Jun-2009 |
Andriy Gapon <avg@FreeBSD.org> |
strict kobj signatures: fix assortment of miibus_writereg impls
return type should be int, not void
Reviewed by: imp, current@ Approved by: jhb (mentor)
|
#
1abcdbd1 |
| 30-May-2009 |
Attilio Rao <attilio@FreeBSD.org> |
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 availa
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
show more ...
|
Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
aec9f8e9 |
| 17-Jun-2008 |
Benno Rice <benno@FreeBSD.org> |
- Move ether_ifdetach earlier. - Drain callouts after ether_ifdetach.
Suggested by: jhb
|
#
6e482159 |
| 13-Jun-2008 |
Benno Rice <benno@FreeBSD.org> |
Use callout_init_mtx to simplify locking somewhat. While we're here, rearrange some operations in smc_detach to remove the need for the smc_shutdown variable.
Suggested by: jhb
|
#
764e058a |
| 12-Jun-2008 |
Benno Rice <benno@FreeBSD.org> |
Make sure we drain our taskqueues and stop our callouts in detach.
|
#
3c463a49 |
| 11-Jun-2008 |
Benno Rice <benno@FreeBSD.org> |
Switch to using a normal mutex instead of a spin mutex.
We still use the interrupt filter due to performance problems that show up if we don't. The main problem seen is that, due to the interrupt b
Switch to using a normal mutex instead of a spin mutex.
We still use the interrupt filter due to performance problems that show up if we don't. The main problem seen is that, due to the interrupt being edge triggered, we occasionally miss interrupts which leads us to not notice that we can transmit more packets. Using the new approach, which just schedules a task on a taskqueue, we are guaranteed to have the task run even if the interrupt arrived while we were already executing. If we were to use an ithread the system would mask the interrupt while the handler is run and we'd miss interrupts.
show more ...
|
#
269a0696 |
| 11-Jun-2008 |
Benno Rice <benno@FreeBSD.org> |
Convert bus_space_{read,write}_* calls to bus_{read,write}_* calls.
Suggested by: jhb
|
#
694c6518 |
| 06-Jun-2008 |
Benno Rice <benno@FreeBSD.org> |
This is a rewritten driver for the SMSC LAN91C111. It's based in part on the sn(4) driver and also looking at newer drivers. The reason for the rewrite is to support MII and to try and resolve some
This is a rewritten driver for the SMSC LAN91C111. It's based in part on the sn(4) driver and also looking at newer drivers. The reason for the rewrite is to support MII and to try and resolve some performance issues found when trying to use the sn(4) driver on the Gumstix network boards.
For reference, the SMSC LAN91C111 is a non-PCI ethernet part whose lineage dates back to Ye Olde Days of ISA. It seems to get some use in the embedded space these days on parts lacking on-board MACs or on-board PCI controllers, such as the XScale PXA line of ARM CPUs.
This also includes a driver for the SMSC LAN83C183 10/100 PHY.
Man page to follow.
show more ...
|