linux/drivers/net/ethernet/netronome/nfp
Jakub Kicinski ac86da0546 nfp: interpret extended FW load result codes
To enable easier FW distribution NFP can now automatically
select between FW stored on the flash and loaded from the
kernel.

If FW loading policy is set to auto it will compare the
versions of FW from the host and from the flash and load
the newer one.  If FW type doesn't match (e.g. one advanced
application vs another) the FW from the host takes precedence,
unless one of them is the basic NIC firmware, in which case
the non-basic-NIC FW is selected.

This automatic selection mechanism requires we inform user
what the verdict was.  Print a message to the logs explaining
the decision and the reason.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-08-28 16:01:46 -07:00
..
abm treewide: kvzalloc() -> kvcalloc() 2018-06-12 16:19:22 -07:00
bpf nfp: bpf: xdp_adjust_tail support 2018-08-04 21:58:12 +02:00
flower net_sched: remove list_head from tc_action 2018-08-21 12:45:44 -07:00
nfpcore nfp: interpret extended FW load result codes 2018-08-28 16:01:46 -07:00
nic nfp: add Makefiles to all directories 2018-02-22 15:22:50 -05:00
Makefile nfp: flower: monitor and offload LAG groups 2018-05-24 23:10:57 -04:00
nfp_abi.h nfp: abm: enable advanced queuing on demand 2018-05-29 09:49:15 -04:00
nfp_app_nic.c nfp: abm: create project-specific vNIC structure 2018-05-23 14:26:18 -04:00
nfp_app.c nfp: allow control message reception on data queues 2018-07-27 07:14:35 +02:00
nfp_app.h nfp: fix variable dereferenced before check in nfp_app_ctrl_rx_raw() 2018-07-31 09:28:19 +02:00
nfp_asm.c nfp: bpf: add support for atomic add of unknown values 2018-03-28 19:36:14 -07:00
nfp_asm.h nfp: bpf: xdp_adjust_tail support 2018-08-04 21:58:12 +02:00
nfp_devlink.c devlink: Add extack to reload and port_{un, }split operations 2018-06-05 12:32:37 -04:00
nfp_hwmon.c
nfp_main.c nfp: attempt FW load from flash 2018-08-28 16:01:46 -07:00
nfp_main.h nfp: add shared buffer configuration 2018-05-23 14:26:18 -04:00
nfp_net_common.c nfp: clean up return types in kdoc comments 2018-08-13 19:36:08 -07:00
nfp_net_ctrl.c nfp: fix TLV offset calculation 2018-02-02 19:08:20 -05:00
nfp_net_ctrl.h nfp: allow control message reception on data queues 2018-07-27 07:14:35 +02:00
nfp_net_debugdump.c nfp: fix fw dump handling of absolute rtsym size 2018-01-23 10:12:01 -05:00
nfp_net_debugfs.c nfp: assign vNIC id as phys_port_name of vNICs which are not ports 2018-05-23 14:26:19 -04:00
nfp_net_ethtool.c nfp: populate bus-info on representors 2018-06-30 21:31:56 +09:00
nfp_net_main.c nfp: assign vNIC id as phys_port_name of vNICs which are not ports 2018-05-23 14:26:19 -04:00
nfp_net_repr.c nfp: add .ndo_init() and .ndo_uninit() callbacks 2018-07-18 15:10:34 +02:00
nfp_net_repr.h nfp: abm: expose all PF queues 2018-05-29 09:49:16 -04:00
nfp_net_sriov.c nfp: inform the VF driver needs to be restarted after changing the MAC 2017-10-28 18:59:48 +09:00
nfp_net_sriov.h
nfp_net.h nfp: protect from theoretical size overflows on HW descriptor ring 2018-07-25 22:17:44 -07:00
nfp_netvf_main.c nfp: assign vNIC id as phys_port_name of vNICs which are not ports 2018-05-23 14:26:19 -04:00
nfp_port.c nfp: use split in naming of PCIe PF ports 2018-05-23 14:26:19 -04:00
nfp_port.h nfp: allow apps to add extra stats to ports 2018-05-29 09:49:16 -04:00
nfp_shared_buf.c nfp: add shared buffer configuration 2018-05-23 14:26:18 -04:00