[PATCH 0/7] net: replace global NetRxPackets arrays with per-interface allocation

Sascha Hauer s.hauer at pengutronix.de
Wed Mar 13 04:38:59 PDT 2024


On Wed, 13 Mar 2024 12:06:57 +0100, Ahmad Fatoum wrote:
> Drivers using NetRxPackets can't be combined into the same barebox build
> without clobbering each other when receiving packets. Even having the
> same driver twice would lead to issues.
> 
> We certainly don't want to encourage new network drivers to use this
> global array, so let's just get rid of it.
> 
> [...]

Applied, thanks!

[1/7] net: add net_alloc_packets helper
      https://git.pengutronix.de/cgit/barebox/commit/?id=73cb4117e235 (link may not be stable)
[2/7] net: ep93xx: replace global NetRxPackets with per-interface allocation
      https://git.pengutronix.de/cgit/barebox/commit/?id=33d0bce33443 (link may not be stable)
[3/7] net: enc28j60: replace global NetRxPackets with per-interface allocation
      https://git.pengutronix.de/cgit/barebox/commit/?id=01e3e40961fd (link may not be stable)
[4/7] net: gianfar: replace global NetRxPackets with per-interface allocation
      https://git.pengutronix.de/cgit/barebox/commit/?id=18e518e7e4d5 (link may not be stable)
[5/7] net: ethoc: replace global NetRxPackets with per-interface allocation
      https://git.pengutronix.de/cgit/barebox/commit/?id=41b8dc7a59d9 (link may not be stable)
[6/7] net: cpsw: replace global NetRxPackets with per-interface allocation
      https://git.pengutronix.de/cgit/barebox/commit/?id=cbb8be478429 (link may not be stable)
[7/7] net: retire global NetRxPackets arrays
      https://git.pengutronix.de/cgit/barebox/commit/?id=d417b8b372b3 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list