linux/drivers/net/ethernet/netronome/nfp
Jakub Kicinski 21537bc701 nfp: don't clutter init code passing fw_ver around
Reading fw version from the BAR is trivial.  Don't pass it around
through layers of init functions, simply read it again where needed.

This commit has the side effect of each vNIC having the exact NFD
version from its own control memory, rather than all data vNICs
assuming the version of the first one.  This should not result in
user-visible changes, though.  Capabilities of data vNICs of trival
apps are identical.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-07 12:51:41 -04:00
..
bpf nfp: move basic eBPF stats to app-specific code 2017-05-31 17:58:13 -04:00
nfpcore nfp: don't wait for resources indefinitely 2017-05-30 11:27:06 -04:00
nic nfp: report app name in ethtool -i 2017-05-31 17:58:13 -04:00
Makefile nfp: move eBPF offload files to BPF app directory 2017-05-31 17:58:13 -04:00
nfp_app_nic.c nfp: move port init to apps 2017-05-31 17:58:13 -04:00
nfp_app.c nfp: report app name in ethtool -i 2017-05-31 17:58:13 -04:00
nfp_app.h nfp: add control vNIC datapath 2017-06-07 12:51:40 -04:00
nfp_asm.h nfp: move eBPF offload files to BPF app directory 2017-05-31 17:58:13 -04:00
nfp_devlink.c nfp: support port splitting via devlink 2017-05-26 11:01:49 -04:00
nfp_hwmon.c nfp: add hwmon support 2017-05-30 11:27:06 -04:00
nfp_main.c nfp: fix memory leak on FW load error 2017-05-31 17:58:13 -04:00
nfp_main.h nfp: map all queue controllers at once 2017-06-07 12:51:40 -04:00
nfp_net_common.c nfp: add control vNIC datapath 2017-06-07 12:51:40 -04:00
nfp_net_ctrl.h nfp: add control vNIC datapath 2017-06-07 12:51:40 -04:00
nfp_net_debugfs.c nfp: make sure debug accesses don't depend on netdevs 2017-06-07 12:51:39 -04:00
nfp_net_ethtool.c nfp: report app name in ethtool -i 2017-05-31 17:58:13 -04:00
nfp_net_main.c nfp: don't clutter init code passing fw_ver around 2017-06-07 12:51:41 -04:00
nfp_net.h nfp: map all queue controllers at once 2017-06-07 12:51:40 -04:00
nfp_netvf_main.c nfp: allow allocation and initialization of netdev-less vNICs 2017-06-07 12:51:39 -04:00
nfp_port.c nfp: support port splitting via devlink 2017-05-26 11:01:49 -04:00
nfp_port.h nfp: support port splitting via devlink 2017-05-26 11:01:49 -04:00