From 8a4764f8b7f986b9e30b91f6f56606b82605c00e Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Sun, 9 Apr 2017 14:05:06 -0400 Subject: [PATCH] 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 --- drivers/net/i40e/i40e_ethdev_vf.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.20.1