summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/port.h
diff options
context:
space:
mode:
authorTariq Toukan2016-02-22 17:17:29 +0100
committerDavid S. Miller2016-02-24 19:50:21 +0100
commit928cfe8745a62e60c1e8e06676a74724e7786024 (patch)
tree88bbdc96e44ce889fd48a9a5562d87c0a06664ca /include/linux/mlx5/port.h
parentnet/mlx5e: Implement DCBNL IEEE max rate (diff)
downloadkernel-qcow2-linux-928cfe8745a62e60c1e8e06676a74724e7786024.tar.gz
kernel-qcow2-linux-928cfe8745a62e60c1e8e06676a74724e7786024.tar.xz
kernel-qcow2-linux-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.h2
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__ */