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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2016 00:06:36 +0000 (17:06 -0700)
commit3032b09874a4709f8529d620dd270e14a56eb61d
tree7609ce59d7e27ed43df24e7743aec572f04858d0
parent2a33f756ae1986a67d145f050bf4350e5ee17746
net/mlx5e: Device's mtu field is u16 and not int

[ Upstream commit 046339eaab26804f52f6604877f5674f70815b26 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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/driver.h