diff options
author | Jarod Wilson <jarod@redhat.com> | 2016-10-17 21:54:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-18 17:34:18 +0200 |
commit | 67bef942801842ce7486a23dd3940e320f217319 (patch) | |
tree | 72f6631b36ce03e0a8ea2671f511a3181ca22e3a /drivers/net/ethernet/broadcom/bcm63xx_enet.c | |
parent | Merge branch 'dp83867-impedance-control' (diff) | |
download | linux-67bef942801842ce7486a23dd3940e320f217319.tar.xz linux-67bef942801842ce7486a23dd3940e320f217319.zip |
ethernet/atheros: use core min/max MTU checking
atl2: min_mtu 40, max_mtu 1504
- Remove a few redundant defines that already have equivalents in
if_ether.h.
atl1: min_mtu 42, max_mtu 10218
atl1e: min_mtu 42, max_mtu 8170
atl1c: min_mtu 42, max_mtu 6122/1500
- GbE hardware gets a max_mtu of 6122, slower hardware gets 1500.
alx: min_mtu 34, max_mtu 9256
- Not so sure that minimum MTU number is really what was intended, but
that's what the math actually makes it out to be, due to max_frame
manipulations and comparison in alx_change_mtu, rather than just
comparing new_mtu. (I think 68 was the intended min_mtu value).
CC: netdev@vger.kernel.org
CC: Jay Cliburn <jcliburn@gmail.com>
CC: Chris Snook <chris.snook@gmail.com>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bcm63xx_enet.c')
0 files changed, 0 insertions, 0 deletions