[spp] [PATCH 03/57] spp_vf: comment out check of using cores
x-fn-spp at sl.ntt-tx.co.jp
x-fn-spp at sl.ntt-tx.co.jp
Thu Dec 28 05:55:10 CET 2017
From: Hiroyuki Nakamura <nakamura.hioryuki at po.ntt-tx.co.jp>
Bug workaround.
Current implementation prevent use of over 32 cores due to
int type restriction.
Signed-off-by: Daiki Yamashita <yamashita.daiki.z01 at as.ntt-tx.co.jp>
Signed-off-by: Yasufum Ogawa <ogawa.yasufumi at lab.ntt.co.jp>
---
src/vf/spp_vf.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/vf/spp_vf.c b/src/vf/spp_vf.c
index f035d07..830aaaa 100644
--- a/src/vf/spp_vf.c
+++ b/src/vf/spp_vf.c
@@ -468,12 +468,14 @@ set_form_proc_info(struct spp_config_area *config)
}
}
+#if 0 /* bugfix#385 */
if (unlikely((cpu_bit & g_startup_param.cpu) != cpu_bit)) {
/* CPU mismatch */
RTE_LOG(ERR, APP, "CPU mismatch (cpu param = %lx, config = %lx)\n",
g_startup_param.cpu, cpu_bit);
return -1;
}
+#endif
return 0;
}
--
1.9.1
More information about the spp
mailing list