diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2019-01-22 13:42:10 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-04-05 14:10:35 -0700 |
commit | 6d7ee2edaa54d676026b7f0d50ae472e62a84564 (patch) | |
tree | 1d67673631775485357c3bbacccf0bf2905bc3dc /drivers/net/ethernet/mellanox/mlx5/core/fpga | |
parent | net/mlx5e: Obsolete param field holding a constant value (diff) | |
download | linux-dev-6d7ee2edaa54d676026b7f0d50ae472e62a84564.tar.xz linux-dev-6d7ee2edaa54d676026b7f0d50ae472e62a84564.zip |
net/mlx5e: Unify logic of MTU boundaries
Expose a new helper that wraps the logic for setting the
netdevice's MTU boundaries.
Use it for the different components (Eth, rep, IPoIB).
Set the netdevice min MTU to ETH_MIN_MTU, and the max according
to both the FW capability and the kernel definition.
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/fpga')
0 files changed, 0 insertions, 0 deletions