From: Oliver Neukum <oneukum@suse.com>
To: netdev@vger.kernel.org, hayeswang@realtek.com, bjorn@mork.no,
o.rempel@pengutronix.de
Subject: [RFC net-next 0/3] cleanup of usbnet descriptor allocation
Date: Tue, 10 Feb 2026 16:11:11 +0100 [thread overview]
Message-ID: <20260210151416.42254-1-oneukum@suse.com> (raw)
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.
next reply other threads:[~2026-02-10 15:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-10 15:11 Oliver Neukum [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260210151416.42254-1-oneukum@suse.com \
--to=oneukum@suse.com \
--cc=bjorn@mork.no \
--cc=hayeswang@realtek.com \
--cc=netdev@vger.kernel.org \
--cc=o.rempel@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox