diff options
author | 2017-06-08 18:34:12 -0400 | |
---|---|---|
committer | 2017-06-09 12:10:59 -0400 | |
commit | 0898432cc296cc27cee6647f6748f2add37e09b6 (patch) | |
tree | 3f96064c1f71b9fd0b0e93f77eecd024a4c243ec /drivers/net/hyperv/netvsc_drv.c | |
parent | net: dsa: mv88e6xxx: do not prefix ops with g1 (diff) | |
download | wireguard-linux-0898432cc296cc27cee6647f6748f2add37e09b6.tar.xz wireguard-linux-0898432cc296cc27cee6647f6748f2add37e09b6.zip |
net: dsa: mv88e6xxx: rework pause limit operation
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.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/netvsc_drv.c')
0 files changed, 0 insertions, 0 deletions