Re: [PATCH net-next 6/7] net: dsa: mv88e6xxx: rework jumbo size operation

From: Andrew Lunn
Date: Thu Jun 08 2017 - 15:42:29 EST


On Thu, Jun 08, 2017 at 03:04:44PM -0400, Vivien Didelot wrote:
> Marvell chips have a Jumbo Mode to set the maximum frame size (MTU).
>
> The mv88e6xxx_ops structure is meant to contain generic functionalities,
> no driver logic. Change port_jumbo_config to port_set_jumbo_size setting
> the mode from a given maximum size value.
>
> There is no functional changes since we still use 10240 bytes.
>
> At the same time, correctly clear all Jumbo Mode bits before writing.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew