diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2016-02-22 18:17:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-24 13:50:21 -0500 |
commit | 928cfe8745a62e60c1e8e06676a74724e7786024 (patch) | |
tree | 88bbdc96e44ce889fd48a9a5562d87c0a06664ca /include/linux/mlx5/port.h | |
parent | d8880795dabf2381ed1e98348f6d9c7ea6fab950 (diff) | |
download | lwn-928cfe8745a62e60c1e8e06676a74724e7786024.tar.gz lwn-928cfe8745a62e60c1e8e06676a74724e7786024.zip |
net/mlx5e: Wake On LAN support
Implement set/get WOL by ethtool and added the needed
device commands and structures to mlx5_ifc.
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Rana Shahout <ranas@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx5/port.h')
-rw-r--r-- | include/linux/mlx5/port.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mlx5/port.h b/include/linux/mlx5/port.h index 595c7b2d9bfa..a1d145abd4eb 100644 --- a/include/linux/mlx5/port.h +++ b/include/linux/mlx5/port.h @@ -81,5 +81,7 @@ int mlx5_modify_port_ets_rate_limit(struct mlx5_core_dev *mdev, int mlx5_query_port_ets_rate_limit(struct mlx5_core_dev *mdev, u8 *max_bw_value, u8 *max_bw_unit); +int mlx5_set_port_wol(struct mlx5_core_dev *mdev, u8 wol_mode); +int mlx5_query_port_wol(struct mlx5_core_dev *mdev, u8 *wol_mode); #endif /* __MLX5_PORT_H__ */ |