commit | 758238f2e7a645630c3fead7577c3fa5a36c6ad7 | [log] [tgz] |
---|---|---|
author | Simon Horman <simon.horman@netronome.com> | Fri Jun 23 22:12:04 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Jun 25 11:42:01 2017 -0400 |
tree | 258e718e12d0feabe709ac0eb7271dc184beb0ae | |
parent | eadfa4c3be99eaf15670681e6ffa4d995b73594c [diff] |
nfp: app callbacks for SRIOV Add app-callbacks for app-specific initialisation of SRIOV. Disabling SRIOV is brought forward in nfp_pci_remove() so that nfp_app_sriov_disable is called while the app still exists. This is intended to be used to implement representor netdevs for virtual ports. Signed-off-by: Simon Horman <simon.horman@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>