i40e: Set PHY Access flag on X722
authorAdam Ludkiewicz <adam.ludkiewicz@intel.com>
Wed, 8 Jan 2020 21:44:10 +0000 (13:44 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 9 Jan 2020 17:21:40 +0000 (09:21 -0800)
commitbb37362f34d66f8f563e74a2c97de95c0c1beee5
tree90de619ac0eea1b33f1210fe61d00c7ef3a5afbe
parent9e05229190380f6b8f702da39aaeb97a0fc80dc3
i40e: Set PHY Access flag on X722

The X722 FW API version 1.9 adds support for accessing PHY
registers with Admin Queue Command. This enables reading
EEPROM data from (Q)SFP+ transceivers, what was previously
possible only on X710 devices.

Signed-off-by: Adam Ludkiewicz <adam.ludkiewicz@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_adminq.c