aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2020-01-26 10:40:44 +0100
committerDavid S. Miller <davem@davemloft.net>2020-01-27 11:15:33 +0100
commita8ec173a3f29fd777681c72835d4d8642ebea899 (patch)
treea110de3ca25c3d08ff4ebde4c02cce313ef7804b /include/net
parentmlxsw: minimal: Fix an error handling path in 'mlxsw_m_port_create()' (diff)
downloadlinux-dev-a8ec173a3f29fd777681c72835d4d8642ebea899.tar.xz
linux-dev-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 'include/net')
0 files changed, 0 insertions, 0 deletions