diff options
author | Eran Ben Elisha <eranbe@mellanox.com> | 2015-03-30 17:45:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-31 16:36:50 -0400 |
commit | ffa88f37ffeaac398be68f9678b0e6046a5ba7f6 (patch) | |
tree | 1d431ce4fc9d8b899b7e141847f2f4178c1f528a /drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | |
parent | b4b6e842fc590de809a2f5af472a4ba64999e6b1 (diff) | |
download | talos-obmc-linux-ffa88f37ffeaac398be68f9678b0e6046a5ba7f6.tar.gz talos-obmc-linux-ffa88f37ffeaac398be68f9678b0e6046a5ba7f6.zip |
net/mlx4_en: Move statistics bitmap setting to the Ethernet driver
The statistics bitmap belongs to the Ethernet driver, move it there.
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/mlx4_en.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h index 6b379a2df4a0..af3d9b79277c 100644 --- a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h +++ b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h @@ -730,6 +730,8 @@ int mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port, int mlx4_en_start_port(struct net_device *dev); void mlx4_en_stop_port(struct net_device *dev, int detach); +void mlx4_en_set_stats_bitmap(struct mlx4_dev *dev, u64 *stats_bitmap); + void mlx4_en_free_resources(struct mlx4_en_priv *priv); int mlx4_en_alloc_resources(struct mlx4_en_priv *priv); |