Currently when WoL is supported but disabled, ethtool reports: "Supports Wake-on: d". Fix the indication of Wol support, so that the indication remains "g" all the time if the NIC supports WoL. Tested: As accepted, when NIC supports WoL- ethtool reports: Supports Wake-on: g Wake-on: d when NIC doesn't support WoL- ethtool reports: Supports Wake-on: d Wake-on: d
Showing the changes to include/linux (1 of 5 files). Show all
Unified · Split
| @@ -620,6 +620,7 @@ struct mlx4_caps { · 619 unmodified lines | ||
| 620 | 620 | u32 dmfs_high_rate_qpn_base; |
| 621 | 621 | u32 dmfs_high_rate_qpn_range; |
| 622 | 622 | u32 vf_caps; |
| 623 | + bool wol_port[MLX4_MAX_PORTS + 1]; | |
| 623 | 624 | struct mlx4_rate_limit_caps rl_caps; |
| 624 | 625 | }; |
| 625 | 626 | |