]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: macb: increase max_mtu for oversized frames
authorPieter Van Trappen <pieter.van.trappen@cern.ch>
Mon, 12 Aug 2024 09:06:55 +0000 (11:06 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 16 Aug 2024 01:56:03 +0000 (18:56 -0700)
commit7cb43579641dc437941782b473387c6f8bbc1d25
tree509622fc052ef40eca5440a693c44e2121df9d8a
parente7d731326ef0622f103e5ed47d3405f71cdcd7f6
net: macb: increase max_mtu for oversized frames

Increase max_mtu from 1500 to 1518 bytes when not configured for jumbo
frames. Use 1536 as a starting point as documented in macb.h for
oversized (big) frames, which is the configuration applied in case
jumbo frames capability is not configured; ref. macb_main.c.

Signed-off-by: Pieter Van Trappen <pieter.van.trappen@cern.ch>
Link: https://patch.msgid.link/20240812090657.583821-1-vtpieter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cadence/macb_main.c