diff options
| author | Oleksij Rempel <[email protected]> | 2022-06-17 09:16:07 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-06-17 11:42:35 +0100 |
| commit | 46e31db55da8e9661894e76086159ca28c348c5c (patch) | |
| tree | 08a8d1e361fd44ddca7fed4f545898483644e61d /tools/perf/scripts/python/netdev-times.py | |
| parent | 2c0ab32b73cfe39a609192f338464e948fc39117 (diff) | |
net: macb: fix negative max_mtu size for sama5d3
JML register on probe will return zero . This register is configured
later on macb_init_hw() which is called on open.
Since we have zero, after header and FCS length subtraction we will get
negative max_mtu size. This issue was affecting DSA drivers with MTU support
(for example KSZ9477).
Signed-off-by: Oleksij Rempel <[email protected]>
Reviewed-by: Claudiu Beznea <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions