mirror of
https://github.com/opnsense/src.git
synced 2026-02-14 08:13:38 -05:00
and handle NIC hardware watchdog resets. - remove buggy code at the top of mxge_tick() which tried to detect a race which is already detected in the kernel's callout code. - move callout_stop() and callout_reset() into mxge_close() mxge_open() rather than doing the callout manipulation all over the place. - use callout_drain(), rather than callout_stop() to prevent a potential race between mxge_tick() and mxge_detach() which could lead to softclock using a destroyed mutex - restructure the mxge_tick() and mxge_watchdog_reset() routines to avoid resetting a callout, and then immediately stopping it if the watchdog reset routine is called, and fails. - enable the driver to handle NIC hardware watchdog resets by restoring the NIC's PCI config space, which is lost when the NIC hardware watchdog triggers. Reviewed by: jhb (previus version) |
||
|---|---|---|
| .. | ||
| eth_z8e.h | ||
| ethp_z8e.h | ||
| if_mxge.c | ||
| if_mxge_var.h | ||
| mcp_gen_header.h | ||
| mxge_eth_z8e.c | ||
| mxge_ethp_z8e.c | ||
| mxge_lro.c | ||
| mxge_mcp.h | ||
| mxge_rss_eth_z8e.c | ||
| mxge_rss_ethp_z8e.c | ||
| rss_eth_z8e.h | ||
| rss_ethp_z8e.h | ||