]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Allow changing FEC settings on X722 if supported by FW
authorJaroslaw Gawin <jaroslawx.gawin@intel.com>
Mon, 12 Oct 2020 18:13:45 +0000 (11:13 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 14 Oct 2020 02:44:01 +0000 (19:44 -0700)
commitea9bf825f4330a3d8386c89b37e2a8febb46d76b
tree4a10c236d91acf7f758d5c33d86a4d4d3c979dc2
parent2a3bb754ad524d7f7e747a89e0d7eec3dc2f79d6
i40e: Allow changing FEC settings on X722 if supported by FW

Starting with API version 1.10 firmware for X722 devices has ability
to change FEC settings in PHY. Code added in this patch allows
changing FEC settings if the capability flag indicates the device
supports this feature.

Signed-off-by: Jaroslaw Gawin <jaroslawx.gawin@intel.com>
Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/intel/i40e/i40e_adminq.c
drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_type.h