Skip to content

Conversation

@zhhyu7
Copy link
Contributor

@zhhyu7 zhhyu7 commented Dec 8, 2025

Summary

Replace the critical_section interface in the network module-related code with spinlock to better support multi-core scenarios.

Impact

Network protocol stack and some network card drivers.

Testing

sim:matter to test icmpb6, arp;
qemu:x64 to test driver e1000;
local cortex-m55 board to test tun;

@github-actions github-actions bot added Area: Networking Effects networking subsystem Area: Drivers Drivers issues Area: USB Size: M The size of the change in this PR is medium labels Dec 8, 2025
so as to better support multi-core scenarios

Signed-off-by: zhanghongyu <[email protected]>
so as to better support multi-core scenarios

Signed-off-by: zhanghongyu <[email protected]>
wangchen61698 and others added 2 commits December 8, 2025 21:25
after the network card is turned off, read and write operations need
to return -ENETDOWN, and it is necessary to wake up the waiting read
and write operations.

Signed-off-by: wangchen <[email protected]>
so as to better support multi-core scenarios

Signed-off-by: zhanghongyu <[email protected]>
@github-actions github-actions bot removed the Area: Drivers Drivers issues label Dec 8, 2025
@zhhyu7 zhhyu7 changed the title net: replace critical_section with spinlock or mutex net: replace critical_section with spinlock Dec 8, 2025
@anchao anchao merged commit 521e319 into apache:master Dec 9, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Networking Effects networking subsystem Size: M The size of the change in this PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants