net/i40e: fix VF link speed
authorQi Zhang <qi.z.zhang@intel.com>
Sun, 9 Apr 2017 18:05:05 +0000 (14:05 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000 (15:37 +0200)
commite5d85d36d2a0910d13dfdf98394ccc3c27f6b61c
tree70cc50cd3cf04d3427e2e59f734aff38bb7dd79a
parent3d1636677afe17f44a161f1be5816cd0ba99aa0a
net/i40e: fix VF link speed

When PF notify link speed to VF, encode of link speed need to
be converted from ETH_SPEED_XXX to I40E_LINK_SPEED_XXX.

Fixes: bb6722fb5c0e ("net/i40e: fix VF bonded device link down")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_pf.c