i40e: Cleanup the code with respect to restarting autoneg
BugLink: http://bugs.launchpad.net/bugs/1547674
The restart-autoneg work around does not apply to X722.
Added a flag to set it only for the right MAC and right FW version
where the work around should be applied.
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Change-ID: I942c3ff40cccd1e56f424b1da776b020fe3c9d2a
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from net-next commit
8eed76fa4885f1ed9f19f4d3a16dd24cebf09c19)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>