linux_dsm_epyc7002/drivers/net/ethernet/netronome
Jakub Kicinski d557ee6bdc nfp: explicitly check if application FW is loaded
We support application FW being either loaded automatically at
boot from flash or (more commonly) by the driver from disk.
If FW is not found on disk and nothing is preloaded users are
faced with this unintuitive error:

nfp 0000:04:00.0: nfp: Failed to find PF symbol _pf0_net_bar0

We can do better.  Since we rely on symbol table being present -
check early if it could be correctly read out of from the device
and if not print a more informative message.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-27 15:48:46 -04:00
..
nfp nfp: explicitly check if application FW is loaded 2017-06-27 15:48:46 -04:00
Kconfig nfp: add MAY_USE_DEVLINK dependency 2017-05-30 11:27:03 -04:00
Makefile nfp: rename the driver and add new main file 2017-02-10 15:52:24 -05:00