[dpdk-dev] [PATCH v3 1/2] ixgbe: release software locked semaphores on initialization

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Apr 9 18:37:44 CEST 2014


> It may happen that DPDK application gets killed while having acquired locks
> on the ethernet hardware, causing these locks to be never released. On next
> restart of the application, DPDK skip those ports because it can not
> acquire the lock, this may cause some ports (or even complete board if SMBI
> is locked) to be inaccessible from DPDK application until reboot of the
> hardware.
> 
> This patch release locks that are supposed to be locked due to an improper
> exit of the application.
> 
> Signed-off-by: Didier Pallard <didier.pallard at 6wind.com>
> Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

Applied for version 1.6.0r2.

So the decision is to try not modify base driver.
But the fix should appear in the base driver one day and we must be careful 
when rebasing on an updated one.
In this case, the fix can be done on both side without being harmful.

Thanks for fixing this random failure.
-- 
Thomas


More information about the dev mailing list