aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRafał Miłecki <[email protected]>2021-02-12 16:21:35 +0100
committerDavid S. Miller <[email protected]>2021-02-15 15:06:36 -0800
commit14b3b46a67f78ade99eafcbf320105615e948569 (patch)
tree03a08c00a2b3f6024f8a65dcf917533a4acb10a8 /tools/perf/scripts/python/stackcollapse.py
parentec762403bbe95ded1e7dbca468e928535572da8b (diff)
net: broadcom: bcm4908_enet: set MTU on open & on request
Hardware comes up with default max frame size set to 1518. When using it with switch it results in actual Ethernet MTU 1492: 1518 - 14 (Ethernet header) - 4 (Broadcom's tag) - 4 (802.1q) - 4 (FCS) Above means hardware in its default state can't handle standard Ethernet traffic (MTU 1500). Define maximum possible Ethernet overhead and always set MAC max frame length accordingly. This change fixes handling Ethernet frames of length 1506 - 1514. Signed-off-by: Rafał Miłecki <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions