patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Qi Zhang <qi.z.zhang@intel.com>
To: jingjing.wu@intel.com, helin.zhang@intel.com
Cc: dev@dpdk.org, Qi Zhang <qi.z.zhang@intel.com>, stable@dpdk.org
Subject: [dpdk-stable] [PATCH 3/3] net/i40e: add missing 25G link speed
Date: Wed,  5 Apr 2017 19:12:17 -0400	[thread overview]
Message-ID: <1491433937-36182-4-git-send-email-qi.z.zhang@intel.com> (raw)
In-Reply-To: <1491433937-36182-1-git-send-email-qi.z.zhang@intel.com>

Add missing 25G link speed decode in i40evf_dev_link_update.

Cc: stable@dpdk.org

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
---
 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

  parent reply	other threads:[~2017-04-06  6:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1491433937-36182-1-git-send-email-qi.z.zhang@intel.com>
2017-04-05 23:12 ` [dpdk-stable] [PATCH 2/3] net/i40e: fix wrong VF " Qi Zhang
2017-04-07 14:29   ` Ferruh Yigit
2017-04-05 23:12 ` Qi Zhang [this message]
     [not found] ` <1491761106-26883-1-git-send-email-qi.z.zhang@intel.com>
2017-04-09 18:05   ` [dpdk-stable] [PATCH v2 1/3] net/i40e: remove duplicate code Qi Zhang
2017-04-09 18:05   ` [dpdk-stable] [PATCH v2 2/3] net/i40e: fix wrong VF link speed Qi Zhang
2017-04-09 18:05   ` [dpdk-stable] [PATCH v2 3/3] net/i40e: add missing 25G " Qi Zhang
2017-04-10  9:52     ` Ferruh Yigit
2017-04-10 10:06       ` Zhang, Qi Z
     [not found] <1491433830-36092-1-git-send-email-qi.z.zhang@intel.com>
2017-04-05 23:10 ` [dpdk-stable] [PATCH " Qi Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1491433937-36182-4-git-send-email-qi.z.zhang@intel.com \
    --to=qi.z.zhang@intel.com \
    --cc=dev@dpdk.org \
    --cc=helin.zhang@intel.com \
    --cc=jingjing.wu@intel.com \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).