net/mlx5e: Support configurable MTU for vport representors
authorAdi Nissim <adin@mellanox.com>
Sun, 1 Apr 2018 13:54:27 +0000 (16:54 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 Jun 2018 23:48:14 +0000 (16:48 -0700)
commit250a42b6a764a7954a7a7a137bc71883f05657cb
tree5047e80c2bfcb7684b6c92eeaa25e5879d0f66e0
parent93edcb3a75897a60ec294851043088f59f4475e1
net/mlx5e: Support configurable MTU for vport representors

The representor MTU was hard coded to 1500 bytes.
Allow setting arbitrary MTU values up to the max supported by the FW.

Signed-off-by: Adi Nissim <adin@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c