linux/drivers/net
Jacob Keller e120a9ab45 ice: display stored netlist versions via devlink info
Add a function to read the inactive netlist bank for version
information. To support this, refactor how we read the netlist version
data. Instead of using the firmware AQ interface with a module ID, read
from the flash as a flat NVM, using ice_read_flash_module.

This change requires a slight adjustment to the offset values used, as
reading from the flat NVM includes the type field (which was stripped by
firmware previously). Cleanup the macro names and move them to
ice_type.h. For clarity in how we calculate the offsets and so that
programmers can easily map the offset value to the data sheet, use
a wrapper macro to account for the offset adjustments.

Use the newly added ice_get_inactive_netlist_ver function to extract the
version data from the pending netlist module update. Add the stored
variants of "fw.netlist", and "fw.netlist.build" to the info version map
array.

With this change, we now report the "fw.netlist" and "fw.netlist.build"
versions into the stored section of the devlink info report. As with the
main NVM module versions, if there is no pending update, we report the
currently active values as stored.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2021-02-05 11:43:37 -08:00
..
appletalk
arcnet arcnet: use new tasklet API 2021-02-02 15:51:17 -08:00
bonding
caif caif_virtio: use new tasklet API 2021-02-02 15:51:17 -08:00
can can: mcp251xfd: mcp251xfd_probe(): use dev_err_probe() to simplify error handling 2021-01-29 09:31:58 +01:00
dsa net: dsa: xrs700x: Correctly address device over I2C 2021-02-04 19:09:47 -08:00
ethernet ice: display stored netlist versions via devlink info 2021-02-05 11:43:37 -08:00
fddi
fjes
hamradio
hippi
hyperv hv_netvsc: Load and store the proper (NBL_HASH_INFO) per-packet info 2021-02-04 20:37:04 -08:00
ieee802154
ipa net: ipa: expand last transaction check 2021-02-02 17:42:36 -08:00
ipvlan
mdio
netdevsim net: Do not call fib6_info_hw_flags_set() when IPv6 is disabled 2021-02-02 17:45:59 -08:00
pcs
phy net: mdiobus: Prevent spike on MDIO bus reset signal 2021-02-03 17:28:05 -08:00
plip
ppp ppp: use new tasklet API 2021-02-02 15:51:18 -08:00
slip
team
usb r8152: adjust the flow of power cut for RTL8153B 2021-02-04 20:36:51 -08:00
vmxnet3 vmxnet3: Remove buf_info from device accessible structures 2021-01-29 21:07:03 -08:00
wan
wireguard
wireless
xen-netback
bareudp.c udp: call udp_encap_enable for v6 sockets when enabling encap 2021-02-04 18:37:14 -08:00
dummy.c
eql.c
geneve.c
gtp.c gtp: update rx_length_errors for abnormally short packets 2021-02-04 09:29:58 -08:00
ifb.c ifb: use new tasklet API 2021-02-02 15:51:18 -08:00
Kconfig
LICENSE.SRC
loopback.c net-loopback: set lo dev initial state to UP 2021-02-04 18:37:08 -08:00
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mhi_net.c net: mhi: Get rid of local rx queue count 2021-01-29 19:42:06 -08:00
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c
veth.c
virtio_net.c
vrf.c
vsockmon.c
vxlan.c
xen-netfront.c drivers: net: xen-netfront: Simplify the calculation of variables 2021-02-04 10:55:24 -08:00