freebsd-nq/sys/dev/vge
Pyun YongHyeon a3f4b4527c vge(4) hardwares poll media status and generates an interrupt
whenever the link state is changed.  Using software based polling
for media status tracking is known to cause MII access failure
under certain conditions once link is established so vge(4) used to
rely on link status change interrupt.
However DEVICE_POLLING completely disables generation of all kind
of interrupts on vge(4) such that this resulted in not detecting
link state change event.  This means vge(4) does not correctly
detect established/lost link with DEVICE_POLLING.  Losing the
interrupt made vge(4) not to send any packets to peer since vge(4)
does not try to send any packets when there is no established link.

Work around the issue by generating link state change interrupt
with DEVICE_POLLING.

PR:		kern/160442
Approved by:	re (kib)
2011-09-07 16:57:43 +00:00
..
if_vge.c vge(4) hardwares poll media status and generates an interrupt 2011-09-07 16:57:43 +00:00
if_vgereg.h vge(4) hardwares poll media status and generates an interrupt 2011-09-07 16:57:43 +00:00
if_vgevar.h Disable jumbo frame support for PCIe VT6130/VT6132 controllers. 2009-12-20 19:45:46 +00:00