Re: [PATCH net-next v2 08/10] devlink: introduce shared devlink instance for PFs on same chip

From
Jakub Kicinski <kuba@kernel.org>
Date
2026-02-28 23:03:12
Also in
linux-doc, linux-rdma, netdev
Reply to
Jiri Pirko, 2026-02-25
On Wed, 25 Feb 2026 14:34:20 +0100 Jiri Pirko wrote:
quoted hunk ↗ jump to hunk
+struct devlink_shd {
+	struct list_head list; /* Node in shd list */
+	const char *id; /* Identifier string (e.g., serial number) */
+	refcount_t refcount; /* Reference count */
+	char priv[] __aligned(NETDEV_ALIGN); /* Driver private data */
+};
As pointed out by AI you promised a size member and a __counted_by()
annotation :)
-- 
pw-bot: cr
Thread (21 messages) 21 messages, 2 authors, last reply 2026-03-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help