[dpdk-dev] [PATCH] lib/librte_ether: Prevent link status race condition when LSI enabled

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Nov 4 23:13:41 CET 2015


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 at overturenetworks.com>

Applied, thanks


More information about the dev mailing list