Page MenuHomeFreeBSD

sfxge(4): add API to inform libefx of hardware removal
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 21, 8:51 PM
Unknown Object (File)
Mar 18 2024, 11:02 PM
Unknown Object (File)
Dec 26 2023, 9:11 AM
Unknown Object (File)
Dec 13 2023, 4:06 AM
Unknown Object (File)
Dec 10 2023, 8:20 AM
Unknown Object (File)
Sep 23 2023, 6:19 AM
Unknown Object (File)
Aug 26 2023, 4:09 PM
Unknown Object (File)
Aug 26 2023, 4:07 PM
Subscribers

Details

Summary

The efx_nic_hw_unavailable() checks ensure that if the NIC hardware
has failed or has been physically removed then libefx will stop
further attempts to access the hardware.

Add an interface for libefx clients to force unavailability, so the
hardware is treated as dead or removed even if still physically present.

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.

Test Plan

amd64 tinderbox kernel builds tested
driver loaded/unloaded, interfaces up/down, traffic works fine

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 30 2018, 7:07 AM
This revision was automatically updated to reflect the committed changes.