-
Notifications
You must be signed in to change notification settings - Fork 2k
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
gnrc_ipv6_ext_frag: Initial import of IPv6 reassembly #11596
gnrc_ipv6_ext_frag: Initial import of IPv6 reassembly #11596
Conversation
No longer WIP. |
Started Murdock to see which boards have insufficient memory for the test. |
2db3e8a
to
95bd09e
Compare
95bd09e
to
7612636
Compare
Rebased to current master. This PR now doesn't have any dependencies anymore. |
7612636
to
11d433f
Compare
Adapted test for "last minute" changes in #11593 (this was why murdock was failing). |
release status ping, should I change the milestone? |
Isn't the (soft) feature freeze still a few weeks ahead? |
ping for release |
@bergzand can I maybe get you away from USB for a bit? :-> |
3c279ee
to
de7c330
Compare
Rebased to adapt for #11668. |
(Removed |
@benpicco are you alright with my changes? May I squash? |
For reference: here are the test results |
if os.environ.get("BOARD", "") != "native": | ||
# ethos currently can't handle the larger, rapidly sent packets by the | ||
# IPv6 fragmentation of the Linux Kernel | ||
print("SUCCESS") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well that's cheating 😉
Can you print a warning about this, so nobody will rely on that "SUCCESS" - I guess it's there just to make automated tests happy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
People tend to run automated tests that hide the output anyways, but will do :D
Yes, please squash. I don't like printing success when no tests were run though. If this is just to keep some automated test scripts happy, can we add a warning for humans so they know nothing was actually tested? |
Just to be clear: the API tests in the application's C code are run. Just the interaction tests with packets are skipped. |
Rebased |
eb8581f
to
13ce098
Compare
Arghs, forgot to fetch current upstream |
13ce098
to
2f188a0
Compare
Now it's rebased correctly :-) |
2f188a0
to
269af28
Compare
And squashed and applied the fix for the SUCCESS message. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good and the tests run fine.
Also this will not cause any regressions as it's an optional feature.
I say let's go!
Now we can continue with the second fragment of this effort :) |
Contribution description
This provides IPv6 fragment reassembly for GNRC. Fragmentation itself will come as a follow-up (#11623) to this PR, to keep the review overhead low.
Testing procedure
make -C tests/gnrc_ipv6_ext_frag all sudo make -C tests/gnrc_ipv6_ext_frag test
Issues/PRs references
Addresses #5371 in part.
Depends on
#11593(merged).Touches similar files as #11623 but can be merged independent.