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: <1ca99004-c194-4d60-b328-40916b685ffa@gmail.com>
Date: Fri, 4 Oct 2024 20:38:49 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Jonas Gorski <jonas.gorski@...il.com>,
 Florian Fainelli <florian.fainelli@...adcom.com>,
 Andrew Lunn <andrew@...n.ch>, Vladimir Oltean <olteanv@...il.com>,
 "David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
 Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
 Murali Krishna Policharla <murali.policharla@...adcom.com>,
 Russell King <linux@...linux.org.uk>
Cc: Vladimir Oltean <vladimir.oltean@....com>, netdev@...r.kernel.org,
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/5] net: dsa: b53: fix max MTU for 1g switches



On 10/4/2024 1:47 AM, Jonas Gorski wrote:
> JMS_MAX_SIZE is the ethernet frame length, not the MTU, which is payload
> without ethernet headers.
> 
> According to the datasheets maximum supported frame length for most
> gigabyte swithes is 9720 bytes, so convert that to the expected MTU when
> using VLAN tagged frames.

Only if you need to resubmit:

s/gigabyte swithes/gigabit switches/g

> 
> Fixes: 6ae5834b983a ("net: dsa: b53: add MTU configuration support")
> Signed-off-by: Jonas Gorski <jonas.gorski@...il.com>

Reviewed-by: Florian Fainelli <florian.fainelli@...adcom.com>
-- 
Florian


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ