Page MenuHomeFreeBSD

sfxge(4): add accessor for default port mode
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 25, 5:07 AM
Unknown Object (File)
Tue, Dec 23, 12:18 AM
Unknown Object (File)
Wed, Dec 10, 10:50 PM
Unknown Object (File)
Tue, Dec 9, 11:58 PM
Unknown Object (File)
Thu, Nov 27, 5:27 PM
Unknown Object (File)
Nov 23 2025, 10:59 AM
Unknown Object (File)
Nov 22 2025, 9:05 PM
Unknown Object (File)
Nov 21 2025, 4:29 AM
Subscribers

Details

Summary

Extend efx_mcdi_get_port_modes() to optionally pass on the default
port mode field. This provides a more direct way of handling the case
where the dynamic config does not specify the port mode than the
alternative of a lookup table indexed by MCFW subtype.

Submitted by: Richard Houldsworth <rhouldsworth 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21113
Build 20476: arc lint + arc unit

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.