From: Qi Zhang Date: Sun, 9 Apr 2017 18:05:06 +0000 (-0400) Subject: net/i40e: add missing 25G link speed X-Git-Tag: spdx-start~3617 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8a4764f8b7f986b9e30b91f6f56606b82605c00e;p=dpdk.git net/i40e: add missing 25G link speed Add missing 25G link speed decode in i40evf_dev_link_update. Fixes: 75d133dd3296 ("net/i40e: enable 25G device") Cc: stable@dpdk.org Signed-off-by: Qi Zhang --- diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c index fa4d90efa9..ca35268b47 100644 --- a/drivers/net/i40e/i40e_ethdev_vf.c +++ b/drivers/net/i40e/i40e_ethdev_vf.c @@ -2175,6 +2175,9 @@ i40evf_dev_link_update(struct rte_eth_dev *dev, case I40E_LINK_SPEED_20GB: new_link.link_speed = ETH_SPEED_NUM_20G; break; + case I40E_LINK_SPEED_25GB: + new_link.link_speed = ETH_SPEED_NUM_25G; + break; case I40E_LINK_SPEED_40GB: new_link.link_speed = ETH_SPEED_NUM_40G; break;