diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2020-08-03 13:03:53 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-03 18:19:23 -0700 |
commit | c99194eded25deb58f606e59b3101ba05e786021 (patch) | |
tree | 258dfbf7bb529f94ae1dbcad0d6921da01038595 /include/linux/dsa | |
parent | 6c84a589972f6458da3168a68e7d65f6ca8687f8 (diff) | |
download | linux-stable-c99194eded25deb58f606e59b3101ba05e786021.tar.gz linux-stable-c99194eded25deb58f606e59b3101ba05e786021.tar.bz2 linux-stable-c99194eded25deb58f606e59b3101ba05e786021.zip |
net: dsa: loop: Wire-up MTU callbacks
For now we simply store the port MTU into a per-port member.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/dsa')
-rw-r--r-- | include/linux/dsa/loop.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dsa/loop.h b/include/linux/dsa/loop.h index bb39401a8056..5a3470bcc8a7 100644 --- a/include/linux/dsa/loop.h +++ b/include/linux/dsa/loop.h @@ -27,6 +27,7 @@ enum dsa_loop_mib_counters { struct dsa_loop_port { struct dsa_loop_mib_entry mib[__DSA_LOOP_CNT_MAX]; u16 pvid; + int mtu; }; struct dsa_loop_priv { |