HomeFreeBSD

sfxge(4): add accessor for default port mode

Description

sfxge(4): add accessor for default port mode

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.
Differential Revision: https://reviews.freebsd.org/D18255

Details

Provenance
arybchikAuthored on
Differential Revision
D18255: sfxge(4): add accessor for default port mode
Parents
rS341292: sfxge(4): add buffer editing functions to boot config
Branches
Unknown
Tags
Unknown