From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 9D72058E8 for ; Wed, 9 Apr 2014 17:49:06 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 09 Apr 2014 08:49:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,826,1389772800"; d="scan'208";a="510205210" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by fmsmga001.fm.intel.com with ESMTP; 09 Apr 2014 08:49:26 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.78]) by IRSMSX104.ger.corp.intel.com ([169.254.5.224]) with mapi id 14.03.0123.003; Wed, 9 Apr 2014 16:49:25 +0100 From: "Ananyev, Konstantin" To: Didier Pallard , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 1/2] ixgbe: release software locked semaphores on initialization Thread-Index: AQHPUy6+6vg1miELK0Gz79X1Ooi4t5sJbnVQ Date: Wed, 9 Apr 2014 15:49:25 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772580EF956FF@IRSMSX105.ger.corp.intel.com> References: <530DC788.8020706@6wind.com> <1396963798-13123-1-git-send-email-didier.pallard@6wind.com> In-Reply-To: <1396963798-13123-1-git-send-email-didier.pallard@6wind.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 1/2] ixgbe: release software locked semaphores on initialization 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, 09 Apr 2014 15:49:07 -0000 -----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Didier Pallard Sent: Tuesday, April 08, 2014 2:30 PM To: dev@dpdk.org Subject: [dpdk-dev] [PATCH v3 1/2] ixgbe: release software locked semaphore= s 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 nex= t restart of the application, DPDK skip those ports because it can not acqu= ire 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 hardwa= re. This patch release locks that are supposed to be locked due to an improper = exit of the application. Signed-off-by: Didier Pallard --- Acked-by: Konstantin Ananyev