From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH 18/29] ixgbe/base: update swfw semaphore function Date: Mon, 13 Jun 2016 17:26:31 +0100 Message-ID: <575EDEB7.1050003@intel.com> References: <1462514861-29419-1-git-send-email-beilei.xing@intel.com> <1462514861-29419-19-git-send-email-beilei.xing@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: Beilei Xing , helin.zhang@intel.com Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id F3AF456A2 for ; Mon, 13 Jun 2016 18:26:56 +0200 (CEST) In-Reply-To: <1462514861-29419-19-git-send-email-beilei.xing@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 5/6/2016 7:07 AM, Beilei Xing wrote: > For X540 and forward it is possible if a system reset occur at the > right time to leave the SWFW semaphore high. This new function will > attempt to grab and release the semaphore. If the grab times out it > will still release the semaphore placing it in a known good state. > The idea is to call this when you know no one should be holding the > semaphore (i.e. probe time) > This patch alse fixes possible race issue between ports when issuing typo: alse > host interface command by acquiring/releasing the management host > interface semaphore in ixgbe_host_interface_command. >=20 > Signed-off-by: Beilei Xing > --- ...