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  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]
Date:   Sun, 4 Oct 2020 09:17:55 -0700
From:   Florian Fainelli <>
To:     Andrew Lunn <>, David Miller <>
Cc:     netdev <>,
        Vladimir Oltean <>,
        Jiri Pirko <>, Jakub Kicinski <>,
        Vladimir Oltean <>
Subject: Re: [PATCH net-next v3 1/7] net: devlink: Add unused port flavour

On 10/4/2020 9:12 AM, Andrew Lunn wrote:
> Not all ports of a switch need to be used, particularly in embedded
> systems. Add a port flavour for ports which physically exist in the
> switch, but are not connected to the front panel etc, and so are
> unused. By having unused ports present in devlink, it gives a more
> accurate representation of the hardware. It also allows regions to be
> associated to such ports, so allowing, for example, to determine
> unused ports are correctly powered off, or to compare probable reset
> defaults of unused ports to used ports experiences issues.
> Actually registering unused ports and setting the flavour to unused is
> optional. The DSA core will register all such switch ports, but such
> ports are expected to be limited in number. Bigger ASICs may decide
> not to list unused ports.
> v2:
> Expand the description about why it is useful
> Reviewed-by: Vladimir Oltean <>
> Tested-by: Vladimir Oltean <>
> Signed-off-by: Andrew Lunn <>

Reviewed-by: Florian Fainelli <>

Powered by blists - more mailing lists