Skip to content
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

ONME-4366 - Fix UBLOX_EVK_ODIN_W2 fails in emac tests due to heap mem… #12024

Merged
merged 1 commit into from
Dec 4, 2019

Conversation

mtomczykmobica
Copy link
Contributor

…ory allocation failure. Increse event queue and free allocated buffer if cannot post packet to event queue.

Summary of changes

For huge traffic, rf board pass packets to emac test (Event queue) to fast. Queue was fully fill and cannot post new packets. Problem was there did't check if post was successful and if not nobody freed memory allocated by rf driver. To fix problem handling unposted packages and free memory. To improve handling incoming message event queue was increase from 20 to 50.

Impact of changes

Migration actions required

Documentation

None.


Pull request type

[X] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[X] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers

@AnttiKauppila
@michalpasztamobica


…ory allocation failure. Increse event queue and free allocated buffer if cannot post packet to event queue.
@ciarmcom
Copy link
Member

ciarmcom commented Dec 4, 2019

@mtomczykmobica, thank you for your changes.
@AnttiKauppila @michalpasztamobica @ARMmbed/mbed-os-test @ARMmbed/mbed-os-ipcore @ARMmbed/mbed-os-maintainers please review.

@0xc0170 0xc0170 requested review from a team and removed request for a team December 4, 2019 11:06
@mbed-ci
Copy link

mbed-ci commented Dec 4, 2019

Test run: SUCCESS

Summary: 5 of 5 test jobs passed
Build number : 1
Build artifacts

@0xc0170 0xc0170 added release-version: 6.0.0-alpha-1 First pre-release version of 6.0.0 and removed needs: CI labels Dec 4, 2019
@0xc0170 0xc0170 merged commit 083f651 into ARMmbed:master Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-version: 6.0.0-alpha-1 First pre-release version of 6.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants