diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-12-03 04:45:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-04 05:18:38 +0100 |
commit | 5f4366660d65aca15e5887bd04c9c0140a658e40 (patch) | |
tree | ba8f89c174934ef70c424b2cffb97ec575050c96 /drivers/net/dsa/mv88e6xxx/mv88e6xxx.h | |
parent | net: dsa: mv88e6xxx: Reserved Management frames to CPU (diff) | |
download | linux-5f4366660d65aca15e5887bd04c9c0140a658e40.tar.xz linux-5f4366660d65aca15e5887bd04c9c0140a658e40.zip |
net: dsa: mv88e6xxx: Refactor setting of jumbo frames
Some switches support jumbo frames. Refactor this code into operations
in the ops structure.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/mv88e6xxx.h')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/mv88e6xxx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h b/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h index d9ffa96fe875..d4f18b8209ec 100644 --- a/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h +++ b/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h @@ -833,6 +833,7 @@ struct mv88e6xxx_ops { bool on); int (*port_set_ether_type)(struct mv88e6xxx_chip *chip, int port, u16 etype); + int (*port_jumbo_config)(struct mv88e6xxx_chip *chip, int port); /* Snapshot the statistics for a port. The statistics can then * be read back a leisure but still with a consistent view. |