DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Lu, Wenzhuo" <wenzhuo.lu@intel.com>
To: "Zhang, Roy Fan" <roy.fan.zhang@intel.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Cc: "Glynn, Michael J" <michael.j.glynn@intel.com>,
	"Zhang, Roy Fan" <roy.fan.zhang@intel.com>,
	"stable@dpdk.org" <stable@dpdk.org>,
	"Zhang, Helin" <helin.zhang@intel.com>,
	"Liang, Cunming" <cunming.liang@intel.com>,
	"Chilikin, Andrey" <andrey.chilikin@intel.com>
Subject: Re: [dpdk-dev] [PATCH v2] drivers/i40e: fix link update no wait
Date: Fri, 9 Mar 2018 08:45:22 +0000	[thread overview]
Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093B749EDA@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <20180308121752.70424-1-roy.fan.zhang@intel.com>

Hi,


> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Fan Zhang
> Sent: Thursday, March 8, 2018 8:18 PM
> To: dev@dpdk.org
> Cc: Glynn, Michael J <michael.j.glynn@intel.com>; Zhang, Roy Fan
> <roy.fan.zhang@intel.com>; stable@dpdk.org; Zhang, Helin
> <helin.zhang@intel.com>; Liang, Cunming <cunming.liang@intel.com>;
> Chilikin, Andrey <andrey.chilikin@intel.com>
> Subject: [dpdk-dev] [PATCH v2] drivers/i40e: fix link update no wait
> 
> Fixes: 263333bbb7a9 ("i40e: fix link status timeout")
> Cc: cunming.liang@intel.com
> Cc: stable@dpdk.org
> 
> In i40e_dev_link_update() the driver obtains the link status info via admin
> queue command despite of "no_wait" flag. This requires relatively long time
> and may be a problem to some application such as ovs-dpdk
> (https://bugzilla.redhat.com/show_bug.cgi?id=1551761).
> 
> This patch aims to fix the problem by using a different approach of obtaining
> link status for i40e NIC without waiting.
> Instead of getting the link status via admin queue command, this patch
> reads the link status registers to accelerate the procedure.
> 
> Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
> Signed-off-by: Andrey Chilikin <andrey.chilikin@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>

  parent reply	other threads:[~2018-03-09  8:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-08 11:55 [dpdk-dev] [PATCH] " Fan Zhang
2018-03-08 12:17 ` [dpdk-dev] [PATCH v2] " Fan Zhang
2018-03-08 13:01   ` Eelco Chaudron
2018-03-09  8:45   ` Lu, Wenzhuo [this message]
2018-03-09 13:22     ` Zhang, Helin

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=6A0DE07E22DDAD4C9103DF62FEBC09093B749EDA@shsmsx102.ccr.corp.intel.com \
    --to=wenzhuo.lu@intel.com \
    --cc=andrey.chilikin@intel.com \
    --cc=cunming.liang@intel.com \
    --cc=dev@dpdk.org \
    --cc=helin.zhang@intel.com \
    --cc=michael.j.glynn@intel.com \
    --cc=roy.fan.zhang@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).