linux/drivers/net/ethernet/intel/ice
Anirudh Venkataramanan 3176551979 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: 769c500dcc ("ice: Add advanced power mgmt for WoL")
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2021-03-29 10:37:49 -07:00
..
ice.h ice: Use port number instead of PF ID for WoL 2021-03-29 10:37:49 -07:00
ice_adminq_cmd.h ice: create scheduler aggregator node config and move VSIs 2021-02-08 16:27:01 -08:00
ice_arfs.c
ice_arfs.h
ice_base.c ice: move headroom initialization to ice_setup_rx_ctx 2021-03-12 07:43:46 -08:00
ice_base.h
ice_common.c ice: fix memory allocation call 2021-03-29 10:11:55 -07:00
ice_common.h ice: implement new LLDP filter command 2021-02-08 16:27:01 -08:00
ice_controlq.c ice: remove unnecessary casts 2021-02-08 16:27:01 -08:00
ice_controlq.h ice: Increase control queue timeout 2021-03-29 10:11:55 -07:00
ice_dcb.c ice: Recognize 860 as iSCSI port in CEE mode 2021-03-29 10:11:55 -07:00
ice_dcb.h
ice_dcb_lib.c ice: Refactor DCB related variables out of the ice_port_info struct 2021-02-08 16:27:01 -08:00
ice_dcb_lib.h
ice_dcb_nl.c ice: remove DCBNL_DEVRESET bit from PF state 2021-03-29 10:37:19 -07:00
ice_dcb_nl.h
ice_devids.h
ice_devlink.c ice: display stored UNDI firmware version via devlink info 2021-02-05 11:44:16 -08:00
ice_devlink.h ice: refactor devlink_port to be per-VSI 2020-10-09 13:14:19 -07:00
ice_ethtool.c ice: Use port number instead of PF ID for WoL 2021-03-29 10:37:49 -07:00
ice_ethtool_fdir.c ice: fix FDir IPv6 flexbyte 2021-01-26 10:43:49 -08:00
ice_fdir.c ice: remove unused args from ice_get_open_tunnel_port() 2020-09-28 12:50:12 -07:00
ice_fdir.h
ice_flex_pipe.c ice: remove unnecessary casts 2021-02-08 16:27:01 -08:00
ice_flex_pipe.h ice: convert to new udp_tunnel infrastructure 2020-09-28 12:50:12 -07:00
ice_flex_type.h ice: convert to new udp_tunnel infrastructure 2020-09-28 12:50:12 -07:00
ice_flow.c ice: join format strings to same line as ice_debug 2020-12-09 08:11:55 -08:00
ice_flow.h ice: Fix pointer cast warnings 2020-10-09 13:14:19 -07:00
ice_fltr.c
ice_fltr.h
ice_fw_update.c ice: report timeout length for erasing during devlink flash 2021-02-05 09:34:24 -08:00
ice_fw_update.h ice: add support for flash update overwrite mask 2020-09-25 17:20:57 -07:00
ice_hw_autogen.h ice: Use PSM clock frequency to calculate RL profiles 2021-02-08 16:27:01 -08:00
ice_lag.c ice: Add initial support framework for LAG 2021-02-08 16:27:01 -08:00
ice_lag.h ice: Add initial support framework for LAG 2021-02-08 16:27:01 -08:00
ice_lan_tx_rx.h
ice_lib.c ice: remove DCBNL_DEVRESET bit from PF state 2021-03-29 10:37:19 -07:00
ice_lib.h ice: fix memory leak if register_netdev_fails 2020-09-25 07:39:24 -07:00
ice_main.c ice: Use port number instead of PF ID for WoL 2021-03-29 10:37:49 -07:00
ice_nvm.c ice: display stored UNDI firmware version via devlink info 2021-02-05 11:44:16 -08:00
ice_nvm.h ice: display stored UNDI firmware version via devlink info 2021-02-05 11:44:16 -08:00
ice_osdep.h
ice_protocol_type.h
ice_sched.c ice: Use PSM clock frequency to calculate RL profiles 2021-02-08 16:27:01 -08:00
ice_sched.h ice: Use PSM clock frequency to calculate RL profiles 2021-02-08 16:27:01 -08:00
ice_sriov.c
ice_sriov.h
ice_status.h ice: display stored netlist versions via devlink info 2021-02-05 11:43:37 -08:00
ice_switch.c ice: Fix for dereference of NULL pointer 2021-03-29 10:37:49 -07:00
ice_switch.h
ice_txrx.c ice: move headroom initialization to ice_setup_rx_ctx 2021-03-12 07:43:46 -08:00
ice_txrx.h ice: store the result of ice_rx_offset() onto ice_ring 2021-02-12 10:36:57 -08:00
ice_txrx_lib.c ice: drop dead code in ice_receive_skb() 2021-01-09 14:24:25 -08:00
ice_txrx_lib.h
ice_type.h ice: Recognize 860 as iSCSI port in CEE mode 2021-03-29 10:11:55 -07:00
ice_virtchnl_pf.c ice: Account for port VLAN in VF max packet size calculation 2021-02-22 11:19:15 -08:00
ice_virtchnl_pf.h
ice_xsk.c ice: fix napi work done reporting in xsk path 2021-03-12 07:43:46 -08:00
ice_xsk.h
Makefile ice: Add initial support framework for LAG 2021-02-08 16:27:01 -08:00