net/sfc/base: add buffer editing functions to boot config
authorRichard Houldsworth <rhouldsworth@solarflare.com>
Mon, 10 Sep 2018 09:33:17 +0000 (10:33 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:02 +0000 (01:41 +0200)
commit45cc346bc96a4e0b9a179893c110c94775a0909e
tree49260702fe92d58773782da33e5df4987d216e51
parentdded2ffdf9fb39614d52b882e0cf3d5c6971af36
net/sfc/base: add buffer editing functions to boot config

Functions to process the DHCP option list format used by the expansion
ROM config buffers, to support extracting and updating of individual
options.
The initial use case is the driver presenting the global and per-PF
options as separate items, with the driver implementing the
synchronization of global options across the configuration buffers
for all PFs.

Signed-off-by: Richard Houldsworth <rhouldsworth@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx.h
drivers/net/sfc/base/efx_annote.h
drivers/net/sfc/base/efx_bootcfg.c