net: Initial import of a global packet buffer#1638
Conversation
There was a problem hiding this comment.
To do this we need a board dependent MCU MTU definition. Will be part of a later PR.
There was a problem hiding this comment.
Yes! I was a little bit tired there 😊
There was a problem hiding this comment.
You could turn that into a freshly squeezed issue right away.
|
Up to here, the tools do have nothing else to complain about =) |
|
Their is no "group" defined for this module in the doxygen - is that intentional? |
sys/net/include/pktbuf.h
Outdated
There was a problem hiding this comment.
- * @detail The rational here is to have at least space for 4 full-MTU IPv6
- * packages (2 for incoming, 2 for outgoing; 2 * 2 * 1280 B = 5 KiB)
+ * @detail The rational here is to have space for at least 4 full-MTU IPv6
+ * packages (2 incoming, 2 outgoing; 2 * 2 * 1280 B = 5 KiB)|
Addressed @LudwigOrtmann's comments |
sys/net/include/pktbuf.h
Outdated
|
@LudwigOrtmann do you find more spelling errors, or should I squash so you can ACK? 😉 |
|
Sorry, didn't have time for a proper review yet. You may squash nonetheless. |
|
Squashed and "addressed" comment :) |
89db167 to
6d9b000
Compare
|
|
sys/net/crosslayer/pktbuf/pktbuf.c
Outdated
sys/net/crosslayer/pktbuf/pktbuf.c
Outdated
There was a problem hiding this comment.
Is this indentation intensional?
|
Rebased and addressed @OlegHahm's comments |
|
|
Fixed |
|
Unittests don't fit on MSB-430 platforms. |
|
Even with make tests-pktbuf test? Edit: yes it does, please test it this way, but the buildtests on Travis do not handle this case. |
|
Why do we build unittests for all boards if they don't get flashed anyway? |
|
Because there are no boards connected to the Travis ;-) |
|
Coverage? |
|
@authmillenon, that's my point - why are we building them? @LudwigOrtmann: To cover what? |
|
code |
|
architectures |
|
This discussion is OT. What about the review? |
|
Sorry, you're right. ACK |
|
Squashed, rebased and waiting for tests to pass |
net: Initial import of a global packet buffer
Cleaner alternative to #1129. Queue in #1640
This is basically a static malloc + sugar