linux_dsm_epyc7002/drivers/net/ethernet/intel
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
..
e1000 intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
e1000e intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
fm10k pci-v4.17-changes 2018-04-06 18:31:06 -07:00
i40e i40e: add support for XDP_REDIRECT 2018-03-26 14:17:10 -07:00
i40evf intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ice ice: Fix insufficient memory issue in ice_aq_manage_mac_read 2018-04-24 12:27:49 -07:00
igb igb: Fix the transmission mode of queue 0 for Qav mode 2018-04-24 08:53:19 -07:00
igbvf intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgb intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgbe ethernet: Use octal not symbolic permissions 2018-03-26 12:07:49 -04:00
ixgbevf ixgbevf: ensure xdp_ring resources are free'd on error exit 2018-04-24 08:20:40 -07:00
e100.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
Kconfig ice: Add basic driver framework for Intel(R) E800 Series 2018-03-26 08:28:02 -07:00
Makefile ice: Add basic driver framework for Intel(R) E800 Series 2018-03-26 08:28:02 -07:00