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)
Fri, Apr 3, 1:06 PM
Unknown Object (File)
Mon, Mar 30, 4:09 PM
Unknown Object (File)
Thu, Mar 26, 4:05 PM
Unknown Object (File)
Sun, Mar 22, 12:09 PM
Unknown Object (File)
Fri, Mar 20, 7:51 AM
Unknown Object (File)
Wed, Mar 18, 2:01 PM
Unknown Object (File)
Tue, Mar 17, 5:15 PM
Unknown Object (File)
Fri, Mar 13, 10:52 PM
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.