From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 16CF99E3 for ; Thu, 6 Apr 2017 08:16:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491459371; x=1522995371; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=T4nkm6EavE20ILMp8r2Fok1ZQrflUSQcEmhsmBir4z4=; b=sSlwIKtPa7dW9/FpLZGXKvVYSMzQAM7XQRBF762AYKC1ziITZfJ5vV5A SGQ8EKcrwfg2/S+3r+pvq0WtmTYnZA==; Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Apr 2017 23:16:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,283,1488873600"; d="scan'208";a="952455488" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.239.129.189]) by orsmga003.jf.intel.com with ESMTP; 05 Apr 2017 23:16:08 -0700 From: Qi Zhang To: qi.z.zhang@intel.com Cc: stable@dpdk.org Date: Wed, 5 Apr 2017 19:10:30 -0400 Message-Id: <1491433830-36092-4-git-send-email-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1491433830-36092-1-git-send-email-qi.z.zhang@intel.com> References: <1491433830-36092-1-git-send-email-qi.z.zhang@intel.com> Subject: [dpdk-stable] [PATCH 3/3] net/i40e: add missing 25G link speed X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2017 06:16:11 -0000 Add missing 25G link speed decode in i40evf_dev_link_update. 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 d3659c9..caafa2d 100644 --- a/drivers/net/i40e/i40e_ethdev_vf.c +++ b/drivers/net/i40e/i40e_ethdev_vf.c @@ -2163,6 +2163,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.7.4