Messages in this thread | | | Date | Sat, 11 Dec 2021 20:23:17 -0800 | Subject | Re: [net-next RFC PATCH v4 02/15] net: dsa: stop updating master MTU from master.c | From | Florian Fainelli <> |
| |
On 12/11/2021 11:57 AM, Ansuel Smith wrote: > From: Vladimir Oltean <vladimir.oltean@nxp.com> > > The dev_set_mtu() call from dsa_master_setup() has been effectively > superseded by the dsa_slave_change_mtu(slave_dev, ETH_DATA_LEN) that is > done from dsa_slave_create() for each user port. This function also > updates the master MTU according to the largest user port MTU from the > tree. Therefore, updating the master MTU through a separate code path > isn't needed. > > Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian
| |