HomeFreeBSD

sfxge(4): generalise EF10 NVRAM buffer interface

Description

sfxge(4): generalise EF10 NVRAM buffer interface

The SFN driver's PartitionControl WMI object requires an API to parse
and filter partition data in TLV format, particularly for the Dynamic
Config partition. The ef10_nvram_buffer functions provide this
functionality but are tied to use with license partition only.
Modify functions so they are applicable to all TLV partitions and add
functions to support in-place tag modification.

Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18256

Details

Provenance
arybchikAuthored on
Differential Revision
D18256: sfxge(4): generalise EF10 NVRAM buffer interface
Parents
rS341293: sfxge(4): add accessor for default port mode
Branches
Unknown
Tags
Unknown