aboutsummaryrefslogtreecommitdiff
path: root/embassy-net/src/packet_pool.rs
Commit message (Collapse)AuthorAgeFilesLines
* net: remove packet pool.Dario Nieuwenhuis2022-12-131-107/+0
| | | | | | | | | | | | | | The pool was prone to deadlocks, especially due to having a single pool for rx+tx. If the pool got full with rx'd packets it would deadlock because processing a rx packet requires doing another allocation on the pool, for the possibly tx'd response, before deallocating the rx'd packet. This also allows Device impls to allocate the packet memory in a particular RAM kind, if needed for example to do DMA. The `Device` trait is now token-based, like smoltcp's. In the end, this is better because it allows callers to manage memory however they want (including with a pool if they want to).
* Run rustfmt.Dario Nieuwenhuis2022-06-121-5/+2
|
* net: Add support for packet pools with size 64 and 128Matous Hybl2022-04-271-0/+6
|
* net: Add features for pool size and remove unwrap on smoltcp deviceThales Fragoso2021-06-161-0/+11
|
* eth-v2: Start Ethernet peripheral implementationThales Fragoso2021-06-161-1/+2
|
* Update to latest embassy, atomic-pool, smoltcpDario Nieuwenhuis2021-04-071-3/+7
|
* :rainbow:Dario Nieuwenhuis2021-02-031-0/+88