]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit10cf553ea7063c2255415c603df0b6ba2d7bfff4
tree5047e80c2bfcb7684b6c92eeaa25e5879d0f66e0
parentfd461afca0b26ad591358d0372403bf57c05f484
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