linux/drivers/net/ethernet/netronome/nfp
Jakub Kicinski 192e685105 nfp: flower: base lifetime of representors on existence of lower vNIC
Create representors after lower vNIC is registered and destroy
them before it is destroyed.  Move the code out of start/stop
callbacks directly into vnic_init/clean callbacks.  Make sure
SR-IOV callbacks don't try to create representors when lower
device does not exist.

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-09-03 21:22:05 -07:00
..
bpf nfp: separate app vNIC init/clean from alloc/free 2017-09-03 21:22:04 -07:00
flower nfp: flower: base lifetime of representors on existence of lower vNIC 2017-09-03 21:22:05 -07:00
nfpcore nfp: set config bit (ifup/ifdown) on netdev open/close 2017-07-25 12:29:45 -07:00
nic nfp: separate app vNIC init/clean from alloc/free 2017-09-03 21:22:04 -07:00
Makefile nfp: add basic SR-IOV ndo functions 2017-08-25 19:24:58 -07:00
nfp_app_nic.c nfp: separate app vNIC init/clean from alloc/free 2017-09-03 21:22:04 -07:00
nfp_app.c nfp: separate app vNIC init/clean from alloc/free 2017-09-03 21:22:04 -07:00
nfp_app.h nfp: separate app vNIC init/clean from alloc/free 2017-09-03 21:22:04 -07: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: devlink add support for getting eswitch mode 2017-06-25 11:42:01 -04:00
nfp_hwmon.c nfp: add hwmon support 2017-05-30 11:27:06 -04:00
nfp_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-09-01 17:42:05 -07:00
nfp_main.h nfp: add basic SR-IOV ndo functions 2017-08-25 19:24:58 -07:00
nfp_net_common.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-09-01 17:42:05 -07:00
nfp_net_ctrl.h nfp: add basic SR-IOV ndo functions 2017-08-25 19:24:58 -07:00
nfp_net_debugfs.c nfp: don't reuse pointers in ring dumping 2017-08-18 22:39:28 -07:00
nfp_net_ethtool.c nfp: add ethtool statistics for representors 2017-08-18 22:39:28 -07:00
nfp_net_main.c nfp: separate app vNIC init/clean from alloc/free 2017-09-03 21:22:04 -07:00
nfp_net_repr.c nfp: add basic SR-IOV ndo functions to representors 2017-08-25 19:24:58 -07:00
nfp_net_repr.h nfp: extend flower matching capabilities 2017-07-01 08:51:32 -07:00
nfp_net_sriov.c nfp: add basic SR-IOV ndo functions 2017-08-25 19:24:58 -07:00
nfp_net_sriov.h nfp: add basic SR-IOV ndo functions 2017-08-25 19:24:58 -07:00
nfp_net.h nfp: allow retreiving management FW logs on representors 2017-08-18 22:39:27 -07:00
nfp_netvf_main.c nfp: advertise support for NFD ABI 0.5 2017-06-07 12:51:42 -04:00
nfp_port.c nfp: store pointer to MAC statistics in nfp_port 2017-08-18 22:39:28 -07:00
nfp_port.h nfp: add ethtool statistics for representors 2017-08-18 22:39:28 -07:00