aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/renesas/sh_eth.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-06-05 17:01:43 -0700
committerDavid S. Miller <davem@davemloft.net>2017-06-07 12:51:37 -0400
commitee26756d01cbff9e8b9ef9635f58b05b27492a49 (patch)
treef082c50cf9147dba4ddfe4ce9f96c7e6773c28fd /drivers/net/ethernet/renesas/sh_eth.c
parentd00ca2f3783b97c936f2a3df9dd0fabf4c0a8290 (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/renesas/sh_eth.c')
0 files changed, 0 insertions, 0 deletions