commit | e1a2599db564340f1bee1536177e3dfb2461e75a | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Wed Jan 17 18:50:56 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 19 15:44:18 2018 -0500 |
tree | 031cbf1cd0a559a74ce409b3c38fa4bcbafff19b | |
parent | aa3f4b69a794f5ac1bdc501eaf964ce48901836e [diff] |
nfp: release global resources only on the remove path NFP app is currently shut down as soon as all the vNICs are gone. This means we can't depend on the app existing throughout the lifetime of the device. Free the app only from PCI remove path. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>