net/i40e/base: enable FEC on/off flag setting for X722
authorGuinan Sun <guinanx.sun@intel.com>
Mon, 27 Jul 2020 05:34:44 +0000 (05:34 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:06 +0000 (18:55 +0200)
commit971bbb9aac8d49fc2c0db197ffeec7d12416b7d4
tree3fd6a83a60af6548302d81140148adca376a4c94
parentf10b1af0f0fb756d44aff3bb3d26c5a351f574c3
net/i40e/base: enable FEC on/off flag setting for X722

Starting with API version 1.10 firmware for X722 devices has ability
to change FEC settings in PHY. Code added in this patch
checks API version and sets appropriate capability flag.

Signed-off-by: Dawid Lukwinski <dawid.lukwinski@intel.com>
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
Acked-by: Jeff Guo <jia.guo@intel.com>
drivers/net/i40e/base/i40e_adminq.c
drivers/net/i40e/base/i40e_adminq_cmd.h
drivers/net/i40e/base/i40e_type.h