public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC net-next 0/3] cleanup of usbnet descriptor allocation
@ 2026-02-10 15:11 Oliver Neukum
  2026-02-10 15:11 ` [RFC net-next 1/3] net: usb: divorce private data and cdc state in usbnet Oliver Neukum
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Oliver Neukum @ 2026-02-10 15:11 UTC (permalink / raw)
  To: netdev, hayeswang, bjorn, o.rempel

Currently the driver has an array of long[5]. That may or may not be
enough, so a secondary pointer was added.

That is quite complex. This series adds a field to driver_info, by
which mini drivers tell usbnet how much space they need. This allows
basically unlimited allocations.

This is the first draft. 


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-02-19  9:08 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-10 15:11 [RFC net-next 0/3] cleanup of usbnet descriptor allocation Oliver Neukum
2026-02-10 15:11 ` [RFC net-next 1/3] net: usb: divorce private data and cdc state in usbnet Oliver Neukum
2026-02-10 16:27   ` Bjørn Mork
2026-02-10 17:11     ` Oliver Neukum
2026-02-17 18:23   ` Andrew Lunn
2026-02-18  9:53     ` Oliver Neukum
2026-02-17 18:31   ` Andrew Lunn
2026-02-10 15:11 ` [RFC net-next 2/3] net: usb: usbnet: switch to dynamic allocation of private data Oliver Neukum
2026-02-17 18:47   ` Andrew Lunn
2026-02-18 10:06     ` Oliver Neukum
2026-02-18 14:01       ` Andrew Lunn
2026-02-19  9:07         ` Oliver Neukum
2026-02-10 15:11 ` [RFC net-next 3/3] net: usb: usbnet: remove driver_priv Oliver Neukum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox