DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Tim Shearer <tim.shearer@overturenetworks.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] lib/librte_ether: Prevent link status race condition when LSI enabled
Date: Wed, 04 Nov 2015 23:13:41 +0100	[thread overview]
Message-ID: <1905391.mr0njJUdyB@xps13> (raw)
In-Reply-To: <1445981935-3559-1-git-send-email-tim.shearer@overturenetworks.com>

2015-10-27 17:38, Tim Shearer:
> Calling the Ethernet driver's link_update function from rte_eth_dev_start can result in a race condition if the NIC raises the link interrupt at the same time. Depending on the interrupt handler implementation, the race can cause the it to think that it received two consecutive link up interrupts, and it exits without calling the user callback. Appears to impact E1000/IGB and virtio drivers only.
> 
> Signed-off-by: Tim Shearer <tim.shearer@overturenetworks.com>

Applied, thanks

      reply	other threads:[~2015-11-04 22:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-24 20:44 [dpdk-dev] [PATCH] librte: Link status interrupt race condition, IGB E1000 Tim Shearer
2015-10-25 22:55 ` Thomas Monjalon
2015-10-26  5:25   ` Lu, Wenzhuo
2015-10-27 17:45     ` Thomas Monjalon
2015-10-27 21:38       ` [dpdk-dev] [PATCH] lib/librte_ether: Prevent link status race condition when LSI enabled Tim Shearer
2015-11-04 22:13         ` Thomas Monjalon [this message]

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=1905391.mr0njJUdyB@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=dev@dpdk.org \
    --cc=tim.shearer@overturenetworks.com \
    /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).