]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: fix the restart auto-negotiation after FEC modified
authorJaroslaw Gawin <jaroslawx.gawin@intel.com>
Tue, 13 Apr 2021 14:19:40 +0000 (14:19 +0000)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 7 May 2021 16:35:49 +0000 (09:35 -0700)
commit7355a2414192463c4e4c2cb19be23da0746392e5
tree7919bd6b5fd3605b4a65c6e6b90c831059ab0ab6
parent32fca7b969c4a46128e2c6571a41744e5f979fd4
i40e: fix the restart auto-negotiation after FEC modified

When FEC mode was changed the link didn't know it because
the link was not reset and new parameters were not negotiated.
Set a flag 'I40E_AQ_PHY_ENABLE_ATOMIC_LINK' in 'abilities'
to restart the link and make it run with the new settings.

Fixes: e9054ea7e3fb ("i40e: Add support FEC configuration for Fortville 25G")
Signed-off-by: Jaroslaw Gawin <jaroslawx.gawin@intel.com>
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Tested-by: Dave Switzer <david.switzer@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c