diff options
author | Andrew Lunn <andrew@lunn.ch> | 2018-12-06 11:36:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-06 12:18:17 -0800 |
commit | dc0fe7d47f9f2256e3aa695bb754625f37291e17 (patch) | |
tree | 8f91a4fdb046fea0ec14589399758a2a766156d7 /net/dsa/slave.c | |
parent | a5dd308778a4e05e7b0b927cf18b89d1ebbff59c (diff) |
net: dsa: Set the master device's MTU to account for DSA overheads
DSA tagging of frames sent over the master interface to the switch
increases the size of the frame. Such frames can then be bigger than
the normal MTU of the master interface, and it may drop them. Use the
overhead information from the tagger to set the MTU of the master
device to include this overhead.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/slave.c')
0 files changed, 0 insertions, 0 deletions