perf: Optimize IPID (Avoid the futex of rand() while ensuring that IPID increases monotonically)

This commit is contained in:
luwenpeng
2023-10-11 18:11:48 +08:00
parent db517610e0
commit 49ccb5149f
5 changed files with 15 additions and 11 deletions

View File

@@ -34,6 +34,7 @@ struct thread_ctx
int session_table_need_reset;
int thread_is_runing;
uint64_t tx_packets_to_sf;
};
/******************************************************************************