net/vpp: call the spdk_net_framework_fini_next

When vpp is compiled with SPDK, the app will
not be exited (net_framework subsystem will not be destroyed)
if we do not do this.

Change-Id: Ib89b67ff8168008f527f5dc23b6f0a3879baf56a
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-on: https://review.gerrithub.io/438245
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
This commit is contained in:
Ziye Yang 2018-12-26 22:03:04 +08:00 committed by Darek Stojaczyk
parent f7e461942e
commit 2c61ed90c9

View File

@ -653,6 +653,8 @@ spdk_vpp_net_framework_fini(void)
if (g_vpp_initialized) {
vppcom_app_destroy();
}
spdk_net_framework_fini_next();
}
static struct spdk_net_framework g_vpp_net_framework = {