[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200720.183609.1291892507136297053.davem@davemloft.net>
Date: Mon, 20 Jul 2020 18:36:09 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: olteanv@...il.com
Cc: kuba@...nel.org, netdev@...r.kernel.org, andrew@...n.ch,
f.fainelli@...il.com, vivien.didelot@...il.com, noodles@...th.li,
mnhagan88@...il.com
Subject: Re: [PATCH net-next] net: dsa: use the ETH_MIN_MTU and
ETH_DATA_LEN default values
From: Vladimir Oltean <olteanv@...il.com>
Date: Sat, 18 Jul 2020 21:04:18 +0300
> Now that DSA supports MTU configuration, undo the effects of commit
> 8b1efc0f83f1 ("net: remove MTU limits on a few ether_setup callers") and
> let DSA interfaces use the default min_mtu and max_mtu specified by
> ether_setup(). This is more important for min_mtu: since DSA is
> Ethernet, the minimum MTU is the same as of any other Ethernet
> interface, and definitely not zero. For the max_mtu, we have a callback
> through which drivers can override that, if they want to.
>
> Signed-off-by: Vladimir Oltean <olteanv@...il.com>
Applied, thanks.
Powered by blists - more mailing lists