02363ccb3b
If the qualified core wasn't found, then we should compare spdk_env_get_core_count() with i, instead of lcore. Signed-off-by: Li Feng <fengli@smartx.com> Change-Id: Ie92f56712b7f0e51636008fe12fff5584b6be8ab Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456415 Reviewed-by: wuzhouhui <wuzhouhui14@mails.ucas.ac.cn> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>