-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
PacketBuffer: Make discontiguous LwIP pbuf adoptable #25679
PacketBuffer: Make discontiguous LwIP pbuf adoptable #25679
Conversation
PR #25679: Size comparison from c1810b6 to 6be1d70 Increases (1 build for cc32xx)
Decreases (1 build for cc32xx)
Full report (1 build for cc32xx)
|
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.
This fixes #21816, right?
It looks to me like the CloneData bits described in #20923 (comment) are not an issue because CloneData only uses public APIs that this PR fixes, right?
6be1d70
to
c0f04fa
Compare
c0f04fa
to
219bb4f
Compare
PR #25679: Size comparison from 12bcb2c to 219bb4f Increases (1 build for cc32xx)
Decreases (1 build for cc32xx)
Full report (1 build for cc32xx)
|
we might run out of PBUF pool if we clone the udp message. After we increase the event queue, the error |
PR #25679: Size comparison from 12bcb2c to 23c457b Increases (15 builds for bl702, cc13x2_26x2, cc32xx, linux, nrfconnect, qpg)
Decreases (12 builds for bl602, bl702, cc13x2_26x2, cc32xx)
Full report (20 builds for bl602, bl702, cc13x2_26x2, cc32xx, linux, mbed, nrfconnect, qpg)
|
Yes, I understand that. My questions are:
|
And perhaps most concretely: was receiving group messages tested with this change? |
Yes
Yes, we will create a pbuf with the reserve size 0 in
Yes, I have tested the group messages receiving on ESP32. |
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.
Thanks. That all matches what I was seeing too!
Changes
Make the discontiguous LwIP pbuf adoptable to reduce the
PacketBuffer: pool EMPTY.
errors.Tests
Tested on ESP32, both the unicast and multicast message can be received and handled well.