From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id DC5758E9F for ; Wed, 4 Nov 2015 23:15:10 +0100 (CET) Received: by wmll128 with SMTP id l128so3550824wml.0 for ; Wed, 04 Nov 2015 14:15:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=W3RhRkJgkLDp0KOj3JlSWMTk0eLYgH5DDnMhKvWO0eg=; b=b38v/8pw4C8l4cJweBCPcAbSXcO8YBpG3VfEt7BWyfQ6Gugk80rAHF1Qj5amFTqdIb dn7+61V1Vj+iMnxKvsCWcq1YPaAM1V3911+8gZfO/TJM8fEFCJgnoQwgeaRZSKE7JOuC F3u/TOFL43NCRLnLurlxfQaePuswbzlvzeudlDhcwTy1WHwxIrSUYhpiZ2TspZgsoyVT F2uVE26rsGL5nLaLFX91xvcuijnYrMEK7SnCkvrPKGkd+tB9YmbkWRKkkGF8ZW7iJLL8 A4iLXtQyvLqRrluPu1vPQ92IGuV87NKKxfXm2SDa7ciVO9MlsFrxDaJEamufnbaxAsMm XyzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=W3RhRkJgkLDp0KOj3JlSWMTk0eLYgH5DDnMhKvWO0eg=; b=ADP57azRGpbHuqm4CRBpERLP+ScNG/cXkPBVnEeqCGnHphFEbiqqHY8PLEJ2pOR6xX JSzTM+M0oTMDRKoIjc6bwGQPhIIMhdjje1dGKwdlbau7lb8m7Cbw1I2xt5fi7CXuURdg dvCJ9EIIUc96AXw54SUV+YjvuCWqcZnmsSwrJI+ooMsgNKzt3uCIlWEjRaSJfR/8NjQV y/2GgUha4xRN8D5K6KHsZ4HrnAr+xBA1UdEEL2/e3rqkfgg3YiKjK0gVtsJIvGm0Mn3A fr9shu0aKeg7Hd4rX9FM11HoAU3bXBxdn0kVFWdBjnJCCDAgWY5DCFzpNaQtVZjZtZDh tD9A== X-Gm-Message-State: ALoCoQm25mxNW0bwj/bXikqWvtM5c/08kXOfB91Q5aJvj36IeOo3qPZRs1llNXkyX0SbMEKUlk5c X-Received: by 10.28.132.18 with SMTP id g18mr5769657wmd.64.1446675310703; Wed, 04 Nov 2015 14:15:10 -0800 (PST) Received: from xps13.localnet ([93.158.51.175]) by smtp.gmail.com with ESMTPSA id b12sm30836654wma.6.2015.11.04.14.15.08 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Nov 2015 14:15:10 -0800 (PST) From: Thomas Monjalon To: Tim Shearer Date: Wed, 04 Nov 2015 23:13:41 +0100 Message-ID: <1905391.mr0njJUdyB@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1445981935-3559-1-git-send-email-tim.shearer@overturenetworks.com> References: <5406727.UN0rhZ0d4I@xps13> <1445981935-3559-1-git-send-email-tim.shearer@overturenetworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] lib/librte_ether: Prevent link status race condition when LSI enabled X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2015 22:15:11 -0000 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 Applied, thanks