Re: [PATCH net-next] net: dsa: use the ETH_MIN_MTU and ETH_DATA_LEN default values

2020-07-20 Thread David Miller
From: Vladimir Oltean 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

Re: [PATCH net-next] net: dsa: use the ETH_MIN_MTU and ETH_DATA_LEN default values

2020-07-18 Thread Florian Fainelli
On 7/18/2020 11:04 AM, Vladimir Oltean wrote: > 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 impor

[PATCH net-next] net: dsa: use the ETH_MIN_MTU and ETH_DATA_LEN default values

2020-07-18 Thread Vladimir Oltean
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