Re: [PATCH net-next 5/7] net: dsa: mv88e6xxx: rework pause limit operation

From: Andrew Lunn
Date: Thu Jun 08 2017 - 15:41:00 EST


On Thu, Jun 08, 2017 at 03:04:43PM -0400, Vivien Didelot wrote:
> All Marvell chips supporting Pause frames limiting use 1-byte value for
> input and output.
>
> Old chips have both bytes adjacent in a 16-bit register. New ones have
> an indirect table using 8-bit data.
>
> The mv88e6xxx library functions (such as in port.c) must not contain
> driver logic, but only generic helpers. This patch changes the
> port_pause_config operation for port_pause_limit taking two u8 arguments
> for input and output limits. There is no functional changes.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew