]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Use hard_mtu as part of the mlx5e_priv struct
authorErez Shitrit <erezsh@mellanox.com>
Thu, 18 May 2017 14:03:21 +0000 (17:03 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 19 Jun 2017 15:40:20 +0000 (18:40 +0300)
commit0adf272e3d5a93e000c9710043750d2bb1c92255
treee99b6ee8b835757515142980fd7f6d156a12f6f3
parent7b273df3e1bbb771f34a9d1abb523ef4b1c90f39
net/mlx5e: Use hard_mtu as part of the mlx5e_priv struct

The mtu extra space that kept for the HW is specific for each link type,
and it is different in mlx5e and mlx5i modules.
Now it is kept in the priv structures, set by the mlx5e/mlx5i driver
accordingly.

Signed-off-by: Erez Shitrit <erezsh@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
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h