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: <20190305085835.GD2598@vkoul-mobl>
Date:   Tue, 5 Mar 2019 14:28:35 +0530
From:   Vinod Koul <vkoul@...nel.org>
To:     xiaofeis <xiaofeis@...eaurora.org>
Cc:     davem@...emloft.net, netdev@...r.kernel.org, andrew@...n.ch,
        linux-arm-msm@...r.kernel.org, bjorn.andersson@...aro.org,
        vivien.didelot@...il.com, f.fainelli@...il.com,
        niklas.cassel@...aro.org, xiazha@...eaurora.org
Subject: Re: [PATCH] net: dsa: Add support for port mac address

On 05-03-19, 16:16, xiaofeis wrote:
> Allow port network device's mac address to be retrieved from the
> device tree.

Reviewed-by: Vinod Koul <vkoul@...nel.org>

> Signed-off-by: xiaofeis <xiaofeis@...eaurora.org>
> ---
>  Documentation/devicetree/bindings/net/dsa/dsa.txt | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.txt b/Documentation/devicetree/bindings/net/dsa/dsa.txt
> index cfe8f64..8415f41 100644
> --- a/Documentation/devicetree/bindings/net/dsa/dsa.txt
> +++ b/Documentation/devicetree/bindings/net/dsa/dsa.txt
> @@ -71,6 +71,10 @@ properties, described in binding documents:
>  			  Documentation/devicetree/bindings/net/fixed-link.txt
>  			  for details.
>  
> +- local-mac-address	: See
> +			  Documentation/devicetree/bindings/net/ethernet.txt
> +			  for details.
> +
>  Example
>  
>  The following example shows three switches on three MDIO busses,
> @@ -99,6 +103,7 @@ linked into one DSA cluster.
>  			port@1 {
>  				reg = <1>;
>  				label = "lan1";
> +				local-mac-address = [00 00 00 00 00 00];
>  			};
>  
>  			port@2 {
> -- 
> 1.9.1

-- 
~Vinod

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ