gnrc_rpl_srh: cleanup and optimize SRH processing function#10227
Merged
miri64 merged 7 commits intoRIOT-OS:masterfrom Nov 27, 2018
Merged
gnrc_rpl_srh: cleanup and optimize SRH processing function#10227miri64 merged 7 commits intoRIOT-OS:masterfrom
miri64 merged 7 commits intoRIOT-OS:masterfrom
Conversation
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Oct 23, 2018
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Oct 23, 2018
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Oct 23, 2018
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Oct 24, 2018
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Oct 24, 2018
630f057 to
0aca680
Compare
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Oct 24, 2018
0aca680 to
80e85e3
Compare
Member
Author
|
Rebased to current master |
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Oct 25, 2018
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Oct 29, 2018
Member
Author
|
#10300 can help with testing this. |
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Nov 6, 2018
Member
Author
|
@cgundogan can you have a look? |
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Nov 8, 2018
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Nov 14, 2018
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Nov 17, 2018
The generic routing header handler is already checking this case, so don't redo the check again.
535b7ed to
d831758
Compare
Member
Author
|
Rebased to current master to include #10300 |
miri64
added a commit
to miri64/RIOT
that referenced
this pull request
Nov 23, 2018
Member
|
Tested on |
Member
|
Ran |
Member
Author
|
Restarted murdock build, since the last build was quite stale. |
Member
Author
|
Thanks for the review @jia200x! :-) |
Member
|
@miri64 np :) |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Contribution description
While starting preparations I noticed that the processing function for RPL source routing headers in general needs some polishing. This PR provides that some code cleanup and optimizations.
Testing procedure
It can be ensured that the function is still doing the same behavior by using the
tests-rpl_srhunittests. I also ensured with those onsamr21-xprowithpsthat the binary size and stack usage indeed goes down:Issues/PRs references