diff options
author | Yevgeny Petrilin | 2011-03-22 23:37:59 +0100 |
---|---|---|
committer | David S. Miller | 2011-03-23 20:24:19 +0100 |
commit | 14c07b1358ede1664652bb9b28d9ace5fe6f7f92 (patch) | |
tree | 05fa72b9680e85923d938edd8e4963bbac0b629b /drivers/net/mlx4/main.c | |
parent | mlx4_en: using new mlx4 interrupt scheme (diff) | |
download | kernel-qcow2-linux-14c07b1358ede1664652bb9b28d9ace5fe6f7f92.tar.gz kernel-qcow2-linux-14c07b1358ede1664652bb9b28d9ace5fe6f7f92.tar.xz kernel-qcow2-linux-14c07b1358ede1664652bb9b28d9ace5fe6f7f92.zip |
mlx4: Wake on LAN support
The driver queries the FW for WOL support.
Ethtool get/set_wol is implemented accordingly.
Only magic packets are supported at the time.
Signed-off-by: Igor Yarovinsky <igory@mellanox.co.il>
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/main.c')
-rw-r--r-- | drivers/net/mlx4/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx4/main.c b/drivers/net/mlx4/main.c index 517ca34f5b37..42d4fb477870 100644 --- a/drivers/net/mlx4/main.c +++ b/drivers/net/mlx4/main.c @@ -227,6 +227,7 @@ static int mlx4_dev_cap(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) dev->caps.stat_rate_support = dev_cap->stat_rate_support; dev->caps.udp_rss = dev_cap->udp_rss; dev->caps.loopback_support = dev_cap->loopback_support; + dev->caps.wol = dev_cap->wol; dev->caps.max_gso_sz = dev_cap->max_gso_sz; dev->caps.log_num_macs = log_num_mac; |