#
df2dc2b3 |
| 14-Feb-2012 |
Pyun YongHyeon <yongari@FreeBSD.org> |
For RTL8168/8111D controller, make sure to wake PHY from power down mode. Otherwise, PHY access times out under certain conditions.
|
#
8fa0b743 |
| 23-Jan-2012 |
Xin LI <delphij@FreeBSD.org> |
IFC @230489 (pending review).
|
#
bc6b129b |
| 19-Jan-2012 |
Pyun YongHyeon <yongari@FreeBSD.org> |
Fix a logic error which resulted in putting PHY into sleep when WOL is active. If WOL is active driver should not put PHY into sleep. This change makes WOL work on RTL8168E.
|
#
1f32d3b7 |
| 17-Jan-2012 |
Pyun YongHyeon <yongari@FreeBSD.org> |
Free allocated jumbo buffers when controller is stopped.
|
#
cba16362 |
| 17-Jan-2012 |
Pyun YongHyeon <yongari@FreeBSD.org> |
Use a RX DMA tag to free loaded RX DMA maps. Previously it used a TX DMA tag.
|
#
80dbff4e |
| 04-Jan-2012 |
Sean Bruno <sbruno@FreeBSD.org> |
IFC to head to catch up the bhyve branch
Approved by: grehan@
|
Revision tags: release/9.0.0 |
|
#
579a6e3c |
| 05-Dec-2011 |
Luigi Rizzo <luigi@FreeBSD.org> |
add netmap support for "em", "lem", "igb" and "re".
On my hardware, "em" in netmap mode does about 1.388 Mpps on one card (on an Asus motherboard), and 1.1 Mpps on another card (PCIe bus). Both seem
add netmap support for "em", "lem", "igb" and "re".
On my hardware, "em" in netmap mode does about 1.388 Mpps on one card (on an Asus motherboard), and 1.1 Mpps on another card (PCIe bus). Both seem to be NIC-limited, because i have the same rate even with the CPU running at 150 MHz.
On the "re" driver the tx throughput is around 420-450 Kpps on various (8111C and the like) chipsets. On the Rx side performance seems much better, and i can receive the full load generated by the "em" cards.
"igb" is untested as i don't have the hardware.
show more ...
|
#
6830588d |
| 24-Nov-2011 |
Pyun YongHyeon <yongari@FreeBSD.org> |
To save more power, switch to 10/100Mbps link when controller is put into suspend/shutdown. Old PCI controllers performed that operation in firmware but for RTL8111C or newer controllers, it's respo
To save more power, switch to 10/100Mbps link when controller is put into suspend/shutdown. Old PCI controllers performed that operation in firmware but for RTL8111C or newer controllers, it's responsibility of driver. It's not clear whether the firmware of RTL8111B still downgrades its speed to 10/100Mbps so leave it as it was.
show more ...
|
#
eef0e496 |
| 23-Nov-2011 |
Pyun YongHyeon <yongari@FreeBSD.org> |
Make sure to stop TX MAC before freeing queued TX frames. For RTL8111DP, check if the TX MAC is active by reading RL_GTXSTART register. For RTL8402/8168E-VL/8168F/8411, wait until TX queue is empty.
|
#
fcb220ac |
| 23-Nov-2011 |
Pyun YongHyeon <yongari@FreeBSD.org> |
Disable accepting frames in re_stop() to put RX MAC into idle state. Because there is no reliable way to know whether RX MAC is in stopped state, rejecting all frames would be the only way to minimiz
Disable accepting frames in re_stop() to put RX MAC into idle state. Because there is no reliable way to know whether RX MAC is in stopped state, rejecting all frames would be the only way to minimize possible races. Otherwise it's possible to receive frames while stop command execution is in progress and controller can DMA the frame to freed RX buffer during that period. This was observed on recent PCIe controllers(i.e. RTL8111F).
While this change may not be required on old controllers it wouldn't make negative effects on old controllers. One side effect of this change is disabling receive so driver reprograms RL_RXCFG to receive WOL frames when it is put into suspend or shutdown.
This should address occasional 'memory modified free' errors seen on recent RealTek controllers.
show more ...
|
#
1662c49e |
| 23-Nov-2011 |
Pyun YongHyeon <yongari@FreeBSD.org> |
Perform media change after setting IFF_DRV_RUNNING flag. Without it, driver would ignore the first link state update if controller already established a link such that it would have to take additiona
Perform media change after setting IFF_DRV_RUNNING flag. Without it, driver would ignore the first link state update if controller already established a link such that it would have to take additional link state handling in re_tick().
show more ...
|
#
44f7cbf5 |
| 23-Nov-2011 |
Pyun YongHyeon <yongari@FreeBSD.org> |
Writing access to RL_CFG5 register also requires EEPROM write access. While I'm here, enable WOL through magic packet but disable waking up system via unicast, multicast and broadcast frames. Otherw
Writing access to RL_CFG5 register also requires EEPROM write access. While I'm here, enable WOL through magic packet but disable waking up system via unicast, multicast and broadcast frames. Otherwise, multicast or unicast frame(e.g. ICMP echo request) can wake up system which is not probably wanted behavior on most environments. This was not known as problem because RL_CFG5 register access had not effect until this change. The capability to wake up system with unicast/multicast frames are still set in driver, default off, so users who need that feature can still activate it with ifconfig(8).
show more ...
|
#
4b7ec270 |
| 22-Nov-2011 |
Marius Strobl <marius@FreeBSD.org> |
- There's no need to overwrite the default device method with the default one. Interestingly, these are actually the default for quite some time (bus_generic_driver_added(9) since r52045 and bus_
- There's no need to overwrite the default device method with the default one. Interestingly, these are actually the default for quite some time (bus_generic_driver_added(9) since r52045 and bus_generic_print_child(9) since r52045) but even recently added device drivers do this unnecessarily. Discussed with: jhb, marcel - While at it, use DEVMETHOD_END. Discussed with: jhb - Also while at it, use __FBSDID.
show more ...
|
#
3ee1a36e |
| 22-Nov-2011 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r227804
Pull in the virtio drivers from head.
|
#
d467ffaa |
| 17-Nov-2011 |
Pyun YongHyeon <yongari@FreeBSD.org> |
Add preliminary support for RTL8168/8111F PCIe Gigabit ethernet.
H/W donated by: RealTek Semiconductor Corp.
|
#
6b0a8e04 |
| 17-Nov-2011 |
Pyun YongHyeon <yongari@FreeBSD.org> |
Add preliminary support for second generation RTL8105E PCIe FastEthernet.
H/W donated by: RealTek Semiconductor Corp.
|
#
017f1c8d |
| 17-Nov-2011 |
Pyun YongHyeon <yongari@FreeBSD.org> |
Disable PCIe ASPM (Active State Power Management) for all controllers. More and more RealTek controllers started to implement EEE feature. Vendor driver seems to load a kind of firmware for EEE with
Disable PCIe ASPM (Active State Power Management) for all controllers. More and more RealTek controllers started to implement EEE feature. Vendor driver seems to load a kind of firmware for EEE with additional PHY fixups. It is known that the EEE feature may need ASPM support. Unfortunately there is no documentation for EEE of the controller so enabling ASPM may cause more problems.
show more ...
|
#
600af6c2 |
| 16-Nov-2011 |
Pyun YongHyeon <yongari@FreeBSD.org> |
Add missing driver lock in SIOCSIFCAP handler.
|
#
d56f7f52 |
| 16-Nov-2011 |
Pyun YongHyeon <yongari@FreeBSD.org> |
Add preliminary support for RTL8411 PCIe Gigabit ethernet with integrated card reader.
H/W donated by: RealTek Semiconductor Corp.
|
#
a9e3362a |
| 16-Nov-2011 |
Pyun YongHyeon <yongari@FreeBSD.org> |
Add preliminary support for RTL8402 PCIe FastEthernet with integrated card reader.
H/W donated by: RealTek Semiconductor Corp.
|
#
b3030306 |
| 03-Nov-2011 |
Marius Strobl <marius@FreeBSD.org> |
Sprinkle some const.
|
#
70d8f36a |
| 27-Oct-2011 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r226824
|
#
57c81d92 |
| 17-Oct-2011 |
Pyun YongHyeon <yongari@FreeBSD.org> |
Close a race where SIOCGIFMEDIA ioctl get inconsistent link status. Because driver is accessing a common MII structure in mii_pollstat(), updating user supplied structure should be done before droppi
Close a race where SIOCGIFMEDIA ioctl get inconsistent link status. Because driver is accessing a common MII structure in mii_pollstat(), updating user supplied structure should be done before dropping a driver lock.
Reported by: Karim (fodillemlinkarimi <> gmail dot com)
show more ...
|
#
fab4c373 |
| 16-Sep-2011 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r225592
sys/dev/bvm/bvm_console.c - move up to the new alt-break order.
|
#
cf914969 |
| 15-Aug-2011 |
Justin T. Gibbs <gibbs@FreeBSD.org> |
Integrate FreeBSD/head into projects/zfsd/head as of SVN revision 224870.
|