Thread (18 messages) 18 messages, 3 authors, 2026-03-24

Re: [PATCH net-next V8 06/14] devlink: Allow parent dev for rate-set and rate-new

From: Cosmin Ratiu <hidden>
Date: 2026-03-24 19:17:00
Also in: linux-doc, linux-kselftest, linux-rdma, lkml

On Tue, 2026-03-24 at 14:28 +0200, Tariq Toukan wrote:
quoted hunk ↗ jump to hunk
From: Cosmin Ratiu <redacted>
diff --git a/net/devlink/netlink_gen.c b/net/devlink/netlink_gen.c
index eb35e80e01d1..f47a965972a0 100644
--- a/net/devlink/netlink_gen.c
+++ b/net/devlink/netlink_gen.c
@@ -44,6 +44,12 @@ devlink_attr_param_type_validate(const struct
nlattr *attr,
 }
 
 /* Common nested types */
+const struct nla_policy
devlink_dl_parent_dev_nl_policy[DEVLINK_ATTR_INDEX + 1] = {
+	[DEVLINK_ATTR_BUS_NAME] = { .type = NLA_NUL_STRING, },
+	[DEVLINK_ATTR_DEV_NAME] = { .type = NLA_NUL_STRING, },
+	[DEVLINK_ATTR_INDEX] = { .type = NLA_UINT, },
+};
+
It seems this hunk was not updated after a newer version of Jiri's
shared devlink patches was applied as base, and as a result there are
netlink_gen diffs.

We will fix and repost properly in v9.

But please keep any other comments coming.

Cosmin.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help