diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2008-12-29 18:39:20 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-29 18:39:20 -0800 |
commit | 18cc42a3a17d19774b332e933cf34c71b0d3903c (patch) | |
tree | 91fb800e7db44ebff7201124fe487eb2089f146a /drivers/net/mlx4/mlx4_en.h | |
parent | 2d6a7b7559b47f81c50a1df91910edefff79b9b4 (diff) | |
download | op-kernel-dev-18cc42a3a17d19774b332e933cf34c71b0d3903c.zip op-kernel-dev-18cc42a3a17d19774b332e933cf34c71b0d3903c.tar.gz |
mlx4_en: Added "set_ringparam" Ethtool interface implementation
Now using Ethtool to determine ring sizes, removed the module parameters
that controlled those values.
Modifying ring size requires restart of the interface.
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/mlx4_en.h')
-rw-r--r-- | drivers/net/mlx4/mlx4_en.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/mlx4/mlx4_en.h b/drivers/net/mlx4/mlx4_en.h index e782097..2e96c7b 100644 --- a/drivers/net/mlx4/mlx4_en.h +++ b/drivers/net/mlx4/mlx4_en.h @@ -489,6 +489,12 @@ void mlx4_en_destroy_netdev(struct net_device *dev); int mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port, struct mlx4_en_port_profile *prof); +int mlx4_en_start_port(struct net_device *dev); +void mlx4_en_stop_port(struct net_device *dev); + +void mlx4_en_free_resources(struct mlx4_en_priv *priv); +int mlx4_en_alloc_resources(struct mlx4_en_priv *priv); + int mlx4_en_get_profile(struct mlx4_en_dev *mdev); int mlx4_en_create_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq, |