-
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
Migrate TCP::mPendingPackets to Pool interface #11834
Conversation
PR #11834: Size comparison from 40320ad to 2e36f42 Increases above 0.2%:
Increases (14 builds for k32w, linux, qpg, telink)
Decreases (14 builds for efr32, linux, p6)
Full report (21 builds for efr32, k32w, linux, p6, qpg, telink)
|
2e36f42
to
f69be4c
Compare
PR #11834: Size comparison from e755a26 to f69be4c Increases (6 builds for k32w, qpg, telink)
Decreases (2 builds for p6)
Full report (9 builds for k32w, p6, qpg, telink)
|
f69be4c
to
ab92889
Compare
PR #11834: Size comparison from 09f9837 to ab92889 Increases above 0.2%:
Increases (26 builds for k32w, linux, mbed, nrfconnect, qpg, telink)
Decreases (17 builds for efr32, esp32, linux, mbed, p6)
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
@kghost ? |
ab92889
to
5cf790f
Compare
PR #11834: Size comparison from a9ffa78 to 5cf790f Increases above 0.2%:
Increases (27 builds for k32w, linux, mbed, nrfconnect, qpg, telink)
Decreases (17 builds for efr32, esp32, linux, mbed, p6)
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
5cf790f
to
567ecb3
Compare
PR #11834: Size comparison from 02bd2c7 to 567ecb3 Increases (6 builds for k32w, qpg, telink)
Full report (7 builds for k32w, qpg, telink)
|
567ecb3
to
44b967d
Compare
PR #11834: Size comparison from 02bd2c7 to 44b967d Increases above 0.2%:
Increases (25 builds for k32w, linux, mbed, nrfconnect, qpg, telink)
Decreases (17 builds for efr32, esp32, linux, mbed, p6)
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
#### Problem PR project-chip#11834 added `PoolInterface`, a useful helper for passing object pools, but it only supports `BitMapObjectPool`. #### Change overview Generalize `PoolInterface` to handle both static and heap pools. #### Testing Added a unit test.
#### Problem PR project-chip#11834 added `PoolInterface`, a useful helper for passing object pools, but it only supports `BitMapObjectPool`. #### Change overview Generalize `PoolInterface` to handle both static and heap pools. #### Testing Added a unit test.
#### Problem PR #11834 added `PoolInterface`, a useful helper for passing object pools, but it only supports `BitMapObjectPool`. #### Change overview Generalize `PoolInterface` to handle both static and heap pools. #### Testing Added a unit test.
Problem
Pool interface should be used instead of a static array
Change overview
Migrate TCP::mPendingPackets to Pool interface
TcpBase class uses the
TCP::mPendingPackets
field w/o knowing the actual size of the pool. Add aPoolInterface
class to cover this scenario.Testing
Verified by unit-tests