diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-05-31 18:06:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-01 00:58:13 +0300 |
commit | bb45e51cb0f8fea496eb2d6a9ef2ffb5da564048 (patch) | |
tree | 27d6a725bff8c7b69202656676fb18b6969d9ab8 /drivers/net/ethernet/netronome/nfp/nfp_net_main.c | |
parent | d9ae7f2bfead4600e85459be93082ca8b1c884f9 (diff) | |
download | linux-bb45e51cb0f8fea496eb2d6a9ef2ffb5da564048.tar.xz |
nfp: move bpf offload code to the BPF app
Move bulk of the eBPF offload code out of common vNIC code into
app-specific callbacks.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/nfp_net_main.c')
-rw-r--r-- | drivers/net/ethernet/netronome/nfp/nfp_net_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/nfp_net_main.c b/drivers/net/ethernet/netronome/nfp/nfp_net_main.c index 28782bf3ce68..7dd310911d9f 100644 --- a/drivers/net/ethernet/netronome/nfp/nfp_net_main.c +++ b/drivers/net/ethernet/netronome/nfp/nfp_net_main.c @@ -427,6 +427,7 @@ static void nfp_net_pf_clean_vnic(struct nfp_pf *pf, struct nfp_net *nn) nfp_devlink_port_unregister(nn->port); nfp_net_debugfs_dir_clean(&nn->debugfs_dir); nfp_net_clean(nn); + nfp_app_vnic_clean(pf->app, nn); } static int |