Skip to content

RFC cleanup of usbnet descriptor allocation

Oliver Neukum llvm netdev oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: usb: divorce private data and cdc state in usbnetdrivers/net/usb/asix_common.c drivers/net/usb/asix_devices.c drivers/net/usb/ax88172a.c +16 more+125 -1355 replies
2/3net: usb: usbnet: switch to dynamic allocation of private datadrivers/net/usb/ax88172a.c drivers/net/usb/cdc_mbim.c drivers/net/usb/cdc_ncm.c +4 more+56 -634 replies
3/3net: usb: usbnet: remove driver_privdrivers/net/usb/aqc111.c drivers/net/usb/asix.h drivers/net/usb/asix_common.c +7 more+149 -1880 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC net-next 0/3] cleanup of usbnet descriptor allocation

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.