]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
net/mlx5e: Device's mtu field is u16 and not int
authorSaeed Mahameed <saeedm@mellanox.com>
Wed, 11 May 2016 14:10:53 +0000 (08:10 -0600)
committerKamal Mostafa <kamal@canonical.com>
Fri, 10 Jun 2016 13:32:25 +0000 (06:32 -0700)
commit51913c408f88eff61dd7fac98ae7673ec6c88fd4
tree94a3d0c7ca4c5ae4409918803a284eaacc9a78c2
parent8f2e364a89513025d2f02a53208e225e0ce194bb
net/mlx5e: Device's mtu field is u16 and not int

BugLink: http://bugs.launchpad.net/bugs/1528466
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>
(cherry picked from commit 046339eaab26804f52f6604877f5674f70815b26)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
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