net/mlx4_en: Change min MTU size to ETH_MIN_MTU
authorEran Ben Elisha <eranbe@mellanox.com>
Sun, 2 Dec 2018 12:34:36 +0000 (14:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Dec 2018 00:16:22 +0000 (16:16 -0800)
commit24be19e47779d604d1492c114459dca9a92acf78
tree3c59c7974f7b84a50b47927df7f5b3f8488ac831
parentbf29e9e9b6d2f09cdbf39b48d028f0b49e944f85
net/mlx4_en: Change min MTU size to ETH_MIN_MTU

NIC driver minimal MTU size shall be set to ETH_MIN_MTU, as defined in
the RFC791 and in the network stack. Remove old mlx4_en only define for
it, which was set to wrong value.

Fixes: b80f71f5816f ("ethernet/mellanox: use core min/max MTU checking")
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h