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

Ananyev, Konstantin konstantin.ananyev at intel.com
Wed Apr 9 17:58:09 CEST 2014



-----Original Message-----
From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Didier Pallard
Sent: Tuesday, April 08, 2014 2:30 PM
To: dev at dpdk.org
Subject: [dpdk-dev] [PATCH v3 2/2] igb: release software locked semaphores on initialization

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>


More information about the dev mailing list