diff options
author | Anirudh Venkataramanan <[email protected]> | 2021-02-26 13:19:30 -0800 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2021-03-29 10:37:49 -0700 |
commit | 3176551979b92b02756979c0f1e2d03d1fc82b1e (patch) | |
tree | 71cc1cdc3fed5314e0fb6f89c38372a26cd6bae1 /scripts/gdb/linux/tasks.py | |
parent | 7a91d3f02b04b2fb18c2dfa8b6c4e5a40a2753f5 (diff) |
ice: Use port number instead of PF ID for WoL
As per the spec, the WoL control word read from the NVM should be
interpreted as port numbers, and not PF numbers. So when checking
if WoL supported, use the port number instead of the PF ID.
Also, ice_is_wol_supported doesn't really need a pointer to the pf
struct, but just needs a pointer to the hw instance.
Fixes: 769c500dcc1e ("ice: Add advanced power mgmt for WoL")
Signed-off-by: Anirudh Venkataramanan <[email protected]>
Tested-by: Tony Brelinski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions