-
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_sixlowpan_frag_sfr: provide CongURE support #16156
gnrc_sixlowpan_frag_sfr: provide CongURE support #16156
Conversation
208aeea
to
669caaa
Compare
Rebased and squashed to current master. This PR does not have any dependencies anymore. |
669caaa
to
a12b238
Compare
Rebased again. |
a12b238
to
e6d0f4d
Compare
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
Murdock results✔️ PASSED bc24f9a tests: add test for 6LoWPAN SFR using CongURE
ArtifactsThis only reflects a subset of all builds from https://ci-prod.riot-os.org. Please refer to https://ci.riot-os.org for a complete build for now. |
d4f03f0
to
fe8d824
Compare
Rebased to current master. |
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.
Open comments still apply 😉
bbef956
to
cbf2b58
Compare
sys/net/gnrc/network_layer/sixlowpan/frag/sfr/gnrc_sixlowpan_frag_sfr.c
Outdated
Show resolved
Hide resolved
sys/net/gnrc/network_layer/sixlowpan/frag/sfr/gnrc_sixlowpan_frag_sfr.c
Outdated
Show resolved
Hide resolved
sys/net/gnrc/network_layer/sixlowpan/frag/sfr/gnrc_sixlowpan_frag_sfr.c
Outdated
Show resolved
Hide resolved
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.
ACK, please squash
3e616d3
to
bb5e982
Compare
Squashed |
bb5e982
to
bc24f9a
Compare
Failure of |
What was the error? |
The test uses randomness so probabilistic failures are possible. |
Yeah, or remove the randomness. ;-). |
Yea I mean that's what the seed value would do |
I know. But why is there randomness in a test (that does not test randomness) in the first place ;-). |
Because the test uses ZEP dispatcher with a set packet loss probability. |
Contribution description
This provides CongURE support for GNRC's 6LoWPAN SFR implementation and thus a to hook any CongURE congestion control implementation into SFR. The latter will be done in several follow-up PRs, this PR only adds the calling of the functions and tests to if the CongURE state machine is sane.
Testing procedure
Tests are provided in
tests/gnrc_sixlowpan_frag_sfr_congure
. They should passThey are based mostly on
tests/gnrc_sixlowpan_frag_sfr
with some cleanup (and tests that do not check sending behavior removed) and additional checks for CongURE. I tried to provide reasoning for the checks in the comments. Please read them carefully.Issues/PRs references
Depends on #16119 and #16133 and their respective dependencies.