freebsd-dev/sys/dev/sfxge/common
Andrew Rybchenko a1ae428b7d sfxge: modify nvram update functions for uio platform to support RFID-selectable presets
Dynamic config partitions on boards that support RFID are divided into
a number of segments, each formatted like a partition, with header,
trailer and end tags. The first segment is the current active
configuration.

The segments are initialised by manftest and each contain a different
configuration e.g. firmware variant. The firmware can be instructed
via RFID to copy a segment over the first segment, hence changing the
active configuration. This allows ops to change the configuration of
a board prior to shipment using RFID.

Changes to the dynamic config may need to be written to all segments (in
particular firmware versions written by manftest) or just the first
segment (changes to the active configuration). See SF-111324-SW.
If only the first segment is written the code still needs to be aware of
the possible presence of subsequent segments as writing to a segment may
cause its size to increase, which would overwrite the subsequent
segments and invalidate them.

Boards that do not support RFID will only have one segment in their
dynamic config partition.

Submitted by:   Paul Fox <pfox at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
Differential Revision: https://reviews.freebsd.org/D4302
2015-11-29 05:08:23 +00:00
..
ef10_tlv_layout.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efsys.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_bootcfg.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_check.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_crc32.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_ev.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_filter.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_hash.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_impl.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_intr.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_mac.c sfxge: cleanup: fix prefast annotations on mac stats updates 2015-11-27 16:21:14 +00:00
efx_mcdi.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_mcdi.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_mon.c sfxge: cleanup: fix prefast annotations for stats buffers 2015-11-27 16:16:45 +00:00
efx_nic.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_nvram.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_phy_ids.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_phy.c sfxge: cleanup: fix prefast annotations for stats buffers 2015-11-27 16:16:45 +00:00
efx_port.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_regs_ef10.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_regs_mcdi.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_regs_pci.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_regs.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_rx.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_sram.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_tx.c sfxge: fix prefast warning in falconsiena_tx_qcreate 2015-11-27 16:18:59 +00:00
efx_types.h sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx_vpd.c sfxge: cleanup: report error on failure path in efx_vpd_hunk_verify 2015-11-27 16:23:27 +00:00
efx_wol.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
efx.h sfxge: cleanup: fix prefast annotations on mac stats updates 2015-11-27 16:21:14 +00:00
hunt_ev.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
hunt_filter.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
hunt_impl.h sfxge: modify nvram update functions for uio platform to support RFID-selectable presets 2015-11-29 05:08:23 +00:00
hunt_intr.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
hunt_mac.c sfxge: cleanup: fix prefast annotations on mac stats updates 2015-11-27 16:21:14 +00:00
hunt_mcdi.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
hunt_nic.c sfxge: unlink PIO buffers from VIs in WC mapping in hunt_nic_fini() 2015-11-27 16:07:20 +00:00
hunt_nvram.c sfxge: modify nvram update functions for uio platform to support RFID-selectable presets 2015-11-29 05:08:23 +00:00
hunt_phy.c sfxge: cleanup: fix prefast annotations for stats buffers 2015-11-27 16:16:45 +00:00
hunt_rx.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
hunt_sram.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
hunt_tx.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
hunt_vpd.c sfxge: modify nvram update functions for uio platform to support RFID-selectable presets 2015-11-29 05:08:23 +00:00
mcdi_mon.c sfxge: cleanup: fix prefast annotations for stats buffers 2015-11-27 16:16:45 +00:00
mcdi_mon.h sfxge: cleanup: fix prefast annotations for stats buffers 2015-11-27 16:16:45 +00:00
siena_flash.h sfxge: do not use unnamed union in siena_mc_combo_rom_hdr_t 2015-11-27 15:54:36 +00:00
siena_impl.h sfxge: cleanup: fix prefast annotations on mac stats updates 2015-11-27 16:21:14 +00:00
siena_mac.c sfxge: cleanup: fix prefast annotations on mac stats updates 2015-11-27 16:21:14 +00:00
siena_mcdi.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
siena_nic.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
siena_nvram.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
siena_phy.c sfxge: cleanup: fix prefast annotations for stats buffers 2015-11-27 16:16:45 +00:00
siena_sram.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00
siena_vpd.c sfxge: add 7xxx NICs family support 2015-05-25 08:34:55 +00:00