🎈 perf(pacekt and tcp_segment init): reduce memset
This commit is contained in:
@@ -185,7 +185,7 @@ static void *work_thread(void *arg)
|
||||
* Suggestion: After modifying the system time, restart the service to ensure consistent timing.
|
||||
*/
|
||||
now_ms = stellar_get_real_time_msec();
|
||||
memset(packets, 0, sizeof(packets));
|
||||
//memset(packets, 0, sizeof(packets));
|
||||
nr_recv = packet_io_ingress(packet_io, thr_idx, packets, RX_BURST_MAX);
|
||||
if (nr_recv == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user