net/mlx4_en: set correct MTU in SRIOV
commitc59fec207bc73612c9a124539b99d186ad6d2a99
authorEugenia Emantayev <eugenia@mellanox.co.il>
Thu, 11 Apr 2013 01:56:42 +0000 (11 01:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Apr 2013 20:12:40 +0000 (11 16:12 -0400)
tree2f20d530371ea09279fd40e19e6976d562a74d87
parentfab1e24ab84a0ca2f12599b5d4349576d9a3664f
net/mlx4_en: set correct MTU in SRIOV

When setting MTU in SRIOV mode add ETH, VLAN and FCS header length
to the maximum MTU obtained from QUERY_DEV_CAP.

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/port.c