-
Notifications
You must be signed in to change notification settings - Fork 1.4k
ARP table improvement #17749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
ARP table improvement #17749
+326
−53
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
acassis
approved these changes
Dec 30, 2025
xiaoxiang781216
approved these changes
Dec 30, 2025
xiaoxiang781216
approved these changes
Dec 31, 2025
add interface support to merge iob queues, providing support for subsequent features. Signed-off-by: wenquan1 <[email protected]>
Improve the behavior of the ARP table so that the manually configured ARP table has the highest priority, can only be manually modified to other values, otherwise will never change again, and will not time out. The modified behavior is consistent with that of Linux. Signed-off-by: zhanghongyu <[email protected]>
arp_out will replace the dev->d_iob to arp request if the iob destination address is not exist in arp table, this mechanism cause this iob lost result in first received ping no response or first synack retransmit. to fix this bug, we queue the iob if arp_out failed, allocate a new iob to send arp request, after the arp request completed, then we retry send the queue iob packet. Signed-off-by: wenquan1 <[email protected]>
This reverts commit 696a94c8055dc59933457e8ce5c3c91dbecab980 first, when continuous ping from tester to vela, if ignore arp expire when ping response use arp_out to build L2 layer, this cause TC13 testing arp entry expire feature failed. second, the patch of support queue iob when arp_out failed can fix this bug. Signed-off-by: wenquan1 <[email protected]>
xiaoxiang781216
approved these changes
Jan 1, 2026
Contributor
|
please use proper PR title ex: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: Memory Management
Memory Management issues
Area: Networking
Effects networking subsystem
Size: M
The size of the change in this PR is medium
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
ARP table has the highest priority, can only be manually modified to
other values, otherwise will never change again, and will not time out.
The modified behavior is consistent with that of Linux.
Impact
net:arp
Testing
sim:matter with ping
NuttX log: