mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
6c84a58997
commit
c99194eded
2 changed files with 18 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue