Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
SPDK shouldn't clean up DPDK if init is suppressed
Browse files Browse the repository at this point in the history
  • Loading branch information
qizzz committed Dec 12, 2023
1 parent f446fbc commit f264782
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -625,9 +625,11 @@ spdk_env_init(const struct spdk_env_opts *opts)
}

rc = spdk_env_dpdk_post_init(legacy_mem);
#ifndef DPDK_INIT_SUPPRESSED
if (rc == 0) {
g_external_init = false;
}
#endif

return rc;
}
Expand Down

0 comments on commit f264782

Please sign in to comment.