]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'mlxsw-handle-mtu-values'
authorJakub Kicinski <kuba@kernel.org>
Sat, 15 Jun 2024 02:30:41 +0000 (19:30 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 15 Jun 2024 02:30:41 +0000 (19:30 -0700)
Petr Machata says:

====================
mlxsw: Handle MTU values

Amit Cohen writes:

The driver uses two values for maximum MTU, but neither is accurate.
In addition, the value which is configured to hardware is not calculated
correctly. Handle these issues and expose accurate values for minimum
and maximum MTU per netdevice.

Add test cases to check that the exposed values are really supported.

Patch set overview:
Patches #1-#3 set the driver to use accurate values for MTU
Patch #4 aligns the driver to always use the same value for maximum MTU
Patch #5 adds a test
====================

Link: https://lore.kernel.org/r/cover.1718275854.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge