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>
This commit is contained in:

committed by
David S. Miller

parent
6c84a58997
commit
c99194eded
@@ -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 {
|
||||
|
Reference in New Issue
Block a user