aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6xxx/port.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2016-12-03 04:45:18 +0100
committerDavid S. Miller <davem@davemloft.net>2016-12-03 23:18:38 -0500
commitef70b1119ee8e788f7f4ac22fe1f016363d7921f (patch)
tree2f4bb5c9f4a0efac1621d9ebe18c6b1cbef072b6 /drivers/net/dsa/mv88e6xxx/port.h
parentnet: dsa: mv88e6xxx: Refactor setting of jumbo frames (diff)
downloadlinux-dev-ef70b1119ee8e788f7f4ac22fe1f016363d7921f.tar.xz
linux-dev-ef70b1119ee8e788f7f4ac22fe1f016363d7921f.zip
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>
Diffstat (limited to '')
-rw-r--r--drivers/net/dsa/mv88e6xxx/port.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/port.h b/drivers/net/dsa/mv88e6xxx/port.h
index 9e25735c287e..9bad597280d6 100644
--- a/drivers/net/dsa/mv88e6xxx/port.h
+++ b/drivers/net/dsa/mv88e6xxx/port.h
@@ -63,5 +63,7 @@ int mv88e6351_port_set_egress_unknowns(struct mv88e6xxx_chip *chip, int port,
int mv88e6351_port_set_ether_type(struct mv88e6xxx_chip *chip, int port,
u16 etype);
int mv88e6165_port_jumbo_config(struct mv88e6xxx_chip *chip, int port);
+int mv88e6095_port_egress_rate_limiting(struct mv88e6xxx_chip *chip, int port);
+int mv88e6097_port_egress_rate_limiting(struct mv88e6xxx_chip *chip, int port);
#endif /* _MV88E6XXX_PORT_H */