Skip to content

Commit

Permalink
mlxsw: port: Edit maximum MTU value
Browse files Browse the repository at this point in the history
Currently mlxsw driver supports up to 10000 bytes for maximum MTU, this
value is not accurate, we can support up to 10K bytes. Change the value to
the maximum supported MTU by firmware.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Link: https://lore.kernel.org/r/666f51681234aeef09d771833ccb6e94bd323c88.1718275854.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Amit Cohen authored and Jakub Kicinski committed Jun 15, 2024
1 parent afc5625 commit cae7fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/mellanox/mlxsw/port.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <linux/types.h>

#define MLXSW_PORT_MAX_MTU 10000
#define MLXSW_PORT_MAX_MTU (10 * 1024)

#define MLXSW_PORT_DEFAULT_VID 1

Expand Down

0 comments on commit cae7fd4

Please sign in to comment.