net/i40e: enable auto link update for 25G
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 29 Nov 2016 20:26:21 +0000 (15:26 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:36:48 +0000 (19:36 +0100)
commit5e21d9ee9b661645ef7f858f57a46026708664be
treea3b9d3a164ed61e7c3bcbb4b67d360996dc1faf4
parentf6d227550fb525d0292733fb94ebb73e04517f18
net/i40e: enable auto link update for 25G

For 25G devices auto link update was disabled because it was causing
link issues when enabled.

The problem found because of interface changes in admin queue command
"set_phy_config" and "get_phy_capabilities" for 25G.

This patch fixes the issue and enables auto link update for 25G devices.

Fixes: 75d133dd3296 ("net/i40e: enable 25G device")

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.c