net: dsa: mv88e6xxx: Refactor egress rate limiting
authorAndrew Lunn <andrew@lunn.ch>
Sat, 3 Dec 2016 03:45:18 +0000 (04:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Dec 2016 04:18:38 +0000 (23:18 -0500)
commitef70b1119ee8e788f7f4ac22fe1f016363d7921f
tree2f4bb5c9f4a0efac1621d9ebe18c6b1cbef072b6
parent5f4366660d65aca15e5887bd04c9c0140a658e40
net: dsa: mv88e6xxx: Refactor egress rate limiting

There are two different rate limiting configurations, depending on the
switch generation. Refactor this into ops.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
drivers/net/dsa/mv88e6xxx/port.c
drivers/net/dsa/mv88e6xxx/port.h