aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorFlorian Fainelli2020-08-03 13:03:53 -0700
committerDavid S. Miller2020-08-03 18:19:23 -0700
commitc99194eded25deb58f606e59b3101ba05e786021 (patch)
tree258dfbf7bb529f94ae1dbcad0d6921da01038595 /include/linux
parent6c84a589972f6458da3168a68e7d65f6ca8687f8 (diff)
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')
-rw-r--r--include/linux/dsa/loop.h1
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 {