[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251127200928.65ce7349@kernel.org>
Date: Thu, 27 Nov 2025 20:09:28 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Tariq Toukan <tariqt@...dia.com>
Cc: Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
Andrew Lunn <andrew+netdev@...n.ch>, "David S. Miller"
<davem@...emloft.net>, Donald Hunter <donald.hunter@...il.com>, Jiri Pirko
<jiri@...nulli.us>, Jonathan Corbet <corbet@....net>, Saeed Mahameed
<saeedm@...dia.com>, "Leon Romanovsky" <leon@...nel.org>, Mark Bloch
<mbloch@...dia.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-doc@...r.kernel.org>,
<linux-rdma@...r.kernel.org>, Gal Pressman <gal@...dia.com>, Moshe Shemesh
<moshe@...dia.com>, Carolina Jubran <cjubran@...dia.com>, Cosmin Ratiu
<cratiu@...dia.com>, Jiri Pirko <jiri@...dia.com>, Randy Dunlap
<rdunlap@...radead.org>
Subject: Re: [PATCH net-next V4 08/14] devlink: Allow rate node parents from
other devlinks
On Tue, 25 Nov 2025 22:06:07 +0200 Tariq Toukan wrote:
> @@ -646,6 +706,13 @@ int devlink_nl_rate_set_doit(struct sk_buff *skb, struct genl_info *info)
> goto unlock;
> }
>
> + if (info->user_ptr[1] && info->user_ptr[1] != devlink &&
> + !ops->supported_cross_device_rate_nodes) {
> + NL_SET_ERR_MSG(info->extack,
> + "Cross-device rate parents aren't supported");
> + return -EOPNOTSUPP;
err = ...
goto unlock
> + }
> +
> err = devlink_nl_rate_set(devlink_rate, ops, info);
>
> if (!err)
--
pw-bot: cr
Powered by blists - more mailing lists