lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <czbmzydl32avn6gnwfrsmilemcmajcklnsv6rrlhrcas7iwpjc@wmqwsth6wj27>
Date: Tue, 11 Mar 2025 14:38:22 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Cosmin Ratiu <cratiu@...dia.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>, 
	"horms@...nel.org" <horms@...nel.org>, "andrew+netdev@...n.ch" <andrew+netdev@...n.ch>, 
	"davem@...emloft.net" <davem@...emloft.net>, Tariq Toukan <tariqt@...dia.com>, Gal Pressman <gal@...dia.com>, 
	Leon Romanovsky <leonro@...dia.com>, "edumazet@...gle.com" <edumazet@...gle.com>, 
	"kuba@...nel.org" <kuba@...nel.org>, Saeed Mahameed <saeedm@...dia.com>, 
	Carolina Jubran <cjubran@...dia.com>, "pabeni@...hat.com" <pabeni@...hat.com>
Subject: Re: net-shapers plan

Thu, Mar 06, 2025 at 03:03:54PM +0100, cratiu@...dia.com wrote:

[...]

>
>3. Add a new DEVLINK binding type for the hierarchy, to be able to
>represent netdev groups. That part of the hierarchy would be stored in
>the devlink object instead of the netdev. This allows separation
>between the VM and the hypervisor parts of the hierarchy.

[...]

>
>3. Extend NODE scope to group multiple netdevs and new DEVLINK binding
>Today, all net-shapers objects are owned by a netdevice. Who should own
>a net shaper that represents a group of netdevices? It needs to be a
>stable object that isn't affected by group membership changes and
>therefore cannot be any netdev from the group. The only sensible option
>would be to pick an object corresponding to the eswitch to own such
>groups, which neatly corresponds to the devlink object today.

Could you be litte bit more descriptive about this? I don't understand
why you need group of netdevices. I understand that for devlink binding,
you have usecase for group (devlink rate node). But do you have a
usecase for group of netdevices? Perhaps I'm missing something.

[...]

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ