diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-01-26 10:40:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-27 11:15:33 +0100 |
commit | a8ec173a3f29fd777681c72835d4d8642ebea899 (patch) | |
tree | a110de3ca25c3d08ff4ebde4c02cce313ef7804b /block/t10-pi.c | |
parent | mlxsw: minimal: Fix an error handling path in 'mlxsw_m_port_create()' (diff) | |
download | linux-a8ec173a3f29fd777681c72835d4d8642ebea899.tar.xz linux-a8ec173a3f29fd777681c72835d4d8642ebea899.zip |
r8169: don't set min_mtu/max_mtu if not needed
Defaults for min_mtu and max_mtu are set by ether_setup(), which is
called from devm_alloc_etherdev(). Let rtl_jumbo_max() only return
a positive value if actually jumbo packets are supported. This also
allows to remove constant Jumbo_1K which is a little misleading anyway.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/t10-pi.c')
0 files changed, 0 insertions, 0 deletions