summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@mellanox.com>2016-04-21 23:33:04 +0200
committerDavid S. Miller <davem@davemloft.net>2016-04-24 20:51:39 +0200
commitd8edd2469ace550db707798180d1c84d81f93bca (patch)
treee247d44f5ec0219d36f91b6e89792869857eb9af /include
parentnet/mlx5e: Device's mtu field is u16 and not int (diff)
downloadlinux-d8edd2469ace550db707798180d1c84d81f93bca.tar.xz
linux-d8edd2469ace550db707798180d1c84d81f93bca.zip
net/mlx5e: Fix minimum MTU
Minimum MTU that can be set in Connectx4 device is 68. This fixes the case where a user wants to set invalid MTU, the driver will fail to satisfy this request and the interface will stay down. It is better to report an error and continue working with old mtu. Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions