diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2008-12-30 03:39:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-30 03:39:20 +0100 |
commit | 18cc42a3a17d19774b332e933cf34c71b0d3903c (patch) | |
tree | 91fb800e7db44ebff7201124fe487eb2089f146a /drivers/net/mlx4/mlx4_en.h | |
parent | mlx4_en: Always allocate RX ring for each interrupt vector (diff) | |
download | linux-18cc42a3a17d19774b332e933cf34c71b0d3903c.tar.xz linux-18cc42a3a17d19774b332e933cf34c71b0d3903c.zip |
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 e78209768def..2e96c7b2180a 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, |