Page MenuHomeFreeBSD

sfxge(4): treat EFX_LINK_UNKOWN as link down
ClosedPublic

Authored by arybchik on Jan 6 2017, 8:26 AM.
Tags
None
Referenced Files
F167919510: D9060.id23649.diff
Tue, Aug 25, 10:39 AM
F167850426: D9060.id23701.diff
Tue, Aug 25, 12:13 AM
Unknown Object (File)
Sat, Aug 22, 3:21 AM
Unknown Object (File)
Thu, Aug 20, 10:15 AM
Unknown Object (File)
Wed, Aug 19, 6:07 AM
Unknown Object (File)
Wed, Aug 12, 3:31 PM
Unknown Object (File)
Wed, Aug 12, 3:31 PM
Unknown Object (File)
Wed, Aug 12, 3:29 PM
Subscribers

Details

Summary

It is safer to consider EFX_LINK_UNKNOWN as link down.
link_mode is set to EFX_LINK_UNKNOWN on port stop and fini.

It fixes kernel crash on module unload and lagg is up over sfxge
interface(s).

Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days

Test Plan

module build tested, module loaded/unload, interface up/down,
lagg creation/destruction, traffic with and without lagg

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 6586
Build 6805: arc lint + arc unit

Event Timeline

arybchik retitled this revision from to sfxge(4): treat EFX_LINK_UNKOWN as link down.
arybchik updated this object.
arybchik edited the test plan for this revision. (Show Details)
arybchik added reviewers: gnn, philip, np, bz.
philip edited edge metadata.
This revision is now accepted and ready to land.Jan 6 2017, 9:01 AM
This revision was automatically updated to reflect the committed changes.