# Re: \[PATCH v2 net-next 09/10\] net: dsa: felix: support changing the MTU

- From: Florian Fainelli \<f.fainelli@gmail.com\>
- Date: 2020-03-25 23:10:30 
- List: netdev
- Page: https://ratatoskr.run/netdev/2020/03/11164716
- Thread: https://ratatoskr.run/netdev/2020/03/11164638/t.md

```text


On 3/25/2020 8:22 AM, Vladimir Oltean wrote:
> From: Vladimir Oltean <vladimir.oltean@nxp.com>
> 
> Changing the MTU for this switch means altering the
> DEV_GMII:MAC_CFG_STATUS:MAC_MAXLEN_CFG field MAX_LEN, which in turn
> limits the size of frames that can be received.
> 
> Special accounting needs to be done for the DSA CPU port (NPI port in
> hardware terms). The NPI port configuration needs to be held inside the
> private ocelot structure, since it is now accessed from multiple places.
> 
> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
```
