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)
Wed, Aug 12, 1:56 PM
Unknown Object (File)
Wed, Aug 12, 8:49 AM
Unknown Object (File)
Tue, Aug 11, 11:45 PM
Unknown Object (File)
Tue, Aug 11, 9:13 AM
Unknown Object (File)
Tue, Aug 11, 9:09 AM
Unknown Object (File)
Tue, Aug 11, 8:40 AM
Unknown Object (File)
Mon, Aug 10, 5:54 PM
Unknown Object (File)
Sat, Aug 8, 11:38 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

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.