linux_dsm_epyc7002/drivers/net/ethernet/intel/ice
Md Fahad Iqbal Polash d6fef10c75 ice: Fix insufficient memory issue in ice_aq_manage_mac_read
For the MAC read operation, the device can return up to two (LAN and WoL)
MAC addresses. Without access to adequate memory, the device will return
an error. Fixed this by allocating the right amount of memory. Also, logic
to detect and copy the LAN MAC address into the port_info structure has
been added. Note that the WoL MAC address is ignored currently as the WoL
feature isn't supported yet.

Fixes: dc49c77236 ("ice: Get MAC/PHY/link info and scheduler topology")
Signed-off-by: Md Fahad Iqbal Polash <md.fahad.iqbal.polash@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-04-24 12:27:49 -07:00
..
ice_adminq_cmd.h ice: Fix incorrect comment for action type 2018-04-24 08:56:56 -07:00
ice_common.c ice: Fix insufficient memory issue in ice_aq_manage_mac_read 2018-04-24 12:27:49 -07:00
ice_common.h ice: Implement filter sync, NDO operations and bump version 2018-03-26 12:41:38 -07:00
ice_controlq.c ice: Initialize PF and setup miscellaneous interrupt 2018-03-26 10:34:49 -07:00
ice_controlq.h ice: Initialize PF and setup miscellaneous interrupt 2018-03-26 10:34:49 -07:00
ice_devids.h ice: Add basic driver framework for Intel(R) E800 Series 2018-03-26 08:28:02 -07:00
ice_ethtool.c ice: Bug fixes in ethtool code 2018-04-06 07:00:09 -07:00
ice_hw_autogen.h ice: Do not check INTEVENT bit for OICR interrupts 2018-04-24 09:03:23 -07:00
ice_lan_tx_rx.h ice: Implement filter sync, NDO operations and bump version 2018-03-26 12:41:38 -07:00
ice_main.c ice: Do not check INTEVENT bit for OICR interrupts 2018-04-24 09:03:23 -07:00
ice_nvm.c ice: Start hardware initialization 2018-03-26 09:59:08 -07:00
ice_osdep.h ice: Start hardware initialization 2018-03-26 09:59:08 -07:00
ice_sched.c ice: Fix initialization for num_nodes_added 2018-04-24 08:55:42 -07:00
ice_sched.h ice: Update Tx scheduler tree for VSI multi-Tx queue support 2018-03-26 12:21:42 -07:00
ice_status.h ice: Configure VSIs for Tx/Rx 2018-03-26 11:18:36 -07:00
ice_switch.c ice: Implement filter sync, NDO operations and bump version 2018-03-26 12:41:38 -07:00
ice_switch.h ice: Implement filter sync, NDO operations and bump version 2018-03-26 12:41:38 -07:00
ice_txrx.c ice: Add support for VLANs and offloads 2018-03-26 11:54:49 -07:00
ice_txrx.h ice: Add support for VLANs and offloads 2018-03-26 11:54:49 -07:00
ice_type.h ice: Implement filter sync, NDO operations and bump version 2018-03-26 12:41:38 -07:00
ice.h ice: Implement filter sync, NDO operations and bump version 2018-03-26 12:41:38 -07:00
Makefile ice: Add stats and ethtool support 2018-03-26 12:11:19 -07:00