linux_dsm_epyc7002/drivers/net/ethernet/netronome/nfp
Jakub Kicinski ee26756d01 nfp: split out the allocation part of open
Our open/close implementations have 3 stages:
 - allocation/freeing of ring resources, irqs etc.,
 - device config,
 - device/stack enable (can't fail).

Right now all of those stages are placed in separate functions,
apart from allocation during open.  Fix that.  It will make it
easier for us to allocate resources for netdev-less vNICs.
Because we want to reuse allocation code in netdev-less vNICs
leave the netif_set_real_num_[rt]x_queues() calls inside open.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-07 12:51:37 -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: move bpf offload code to the BPF app 2017-05-31 17:58:13 -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: move port init to apps 2017-05-31 17:58:13 -04:00
nfp_net_common.c nfp: split out the allocation part of open 2017-06-07 12:51:37 -04:00
nfp_net_ctrl.h nfp: add set_mac_address support while the interface is up 2017-05-30 11:27:03 -04:00
nfp_net_debugfs.c nfp: fix print format for ring pointers in ring dumps 2017-05-30 11:27:06 -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: move bpf offload code to the BPF app 2017-05-31 17:58:13 -04:00
nfp_net.h nfp: move basic eBPF stats to app-specific code 2017-05-31 17:58:13 -04:00
nfp_netvf_main.c nfp: rename netdev/port to vNIC 2017-05-22 14:59:03 -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