On Tue, Jun 30, 2020 at 11:37 AM Olivier Matz [off-list ref] wrote:
quoted
+void
+rte_thread_init(unsigned int lcore_id, rte_cpuset_t *cpuset)
+{
+ /* set the lcore ID in per-lcore memory area */
+ RTE_PER_LCORE(_lcore_id) = lcore_id;
+
+ /* acquire system unique id */
+ rte_gettid();
If I understand properly, rte_gettid() is now also called for control
thread. I don't think this behavior change can break anything, but it may
be good to highlight it in the commit log.
Control thread could not use recursive locks before, because this
rte_gettid() was missing.
Worth mentioning yes.
--
David Marchand