net/mlx5e: Device's mtu field is u16 and not int
authorSaeed Mahameed <saeedm@mellanox.com>
Thu, 21 Apr 2016 21:33:03 +0000 (00:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Apr 2016 18:51:38 +0000 (14:51 -0400)
commit046339eaab26804f52f6604877f5674f70815b26
treed81c5d17ab6aa1ece50ae269db925c72216ff2e2
parent64dbbdfef245f67504ec403a5aebfcc7b92bd8c1
net/mlx5e: Device's mtu field is u16 and not int

For set/query MTU port firmware commands the MTU field
is 16 bits, here I changed all the "int mtu" parameters
of the functions wrapping those firmware commands to be u16.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/mlx5/main.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/port.c
include/linux/mlx5/port.h