summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
diff options
context:
space:
mode:
authorTariq Toukan2019-01-22 12:42:10 +0100
committerSaeed Mahameed2019-04-05 23:10:35 +0200
commit6d7ee2edaa54d676026b7f0d50ae472e62a84564 (patch)
tree1d67673631775485357c3bbacccf0bf2905bc3dc /drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
parentnet/mlx5e: Obsolete param field holding a constant value (diff)
downloadkernel-qcow2-linux-6d7ee2edaa54d676026b7f0d50ae472e62a84564.tar.gz
kernel-qcow2-linux-6d7ee2edaa54d676026b7f0d50ae472e62a84564.tar.xz
kernel-qcow2-linux-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/en_tc.c')
0 files changed, 0 insertions, 0 deletions