From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 17AF95921 for ; Wed, 9 Dec 2015 21:25:36 +0100 (CET) Received: by mail-wm0-f41.google.com with SMTP id v187so2424959wmv.1 for ; Wed, 09 Dec 2015 12:25:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=hZ1XCJEglp7oHNGy18oAnnHtoXvBp+iF7oxOkuZTDVs=; b=N6RRbePI5UU7C9zn/uquNvrDO1W/jrCDXgXdEnYPk39xfHxvt/WSWgcPe+tqd8Es0N INyiocHy/kTrNLQ8x26U3zxgkOSPZEMLgxiJbvRRtH82svlmO1mPaS1wSyNvhiliBrWd NXEicfd5W3Ry6uaiaXuvblXw8EaCA63T6oVVx+tI4phXCGgYWJc5+7fOa6be0eM+hSMS ziQy3b4PzTgwO1Ayp5S3zPLRTkmA9RBap/m4z1sVj2wAu1UFyEzcA+JoP4o6q4hzrkei OJlLfbm4FDpZULgi+FxExNAaMZuzYW+x+r6vrnb8NF1ZEIM8iIFDsrhFgxh6/omRbKni z0QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=hZ1XCJEglp7oHNGy18oAnnHtoXvBp+iF7oxOkuZTDVs=; b=WNotLx1rLrgZBXX9wsmsqwN6IZcXG+5g8OxDQoXwG+ZEOvGLp4+NmC0gZ7oinDwqmQ XHe7sCYndOMnJeyicgAvtAMkohVvuLCS1VtuotqrEqHc4+ddPID9pO+vyvrNNRPpdKEX DgjHeFt8WuuiqMWBusOqBW6lkcFp2WlojxZlWJD71BfZ/csXGmr9RmZiLQVKNtrA076z ZRdOhk9AHJvvcn132JIMtJwVgGQ3CfeEN+NxxY8SZl/lYK51oYOv2nHWkEk3+3sSMyx6 zlybP3Ys+9PhAWiRqhwxm1+1L+Emyh8VniIUq5NNu921QXQYBqW1/ethyH+IZMFKRNJR RXQg== X-Gm-Message-State: ALoCoQmfGexkN03B2kc00542LLsREIBd54Zef+OwmGBoI3K6gUzQX36JAyfjtcsQkF56OLzDI7Xwk0+jUzGTgu9TfKBEI94spA== X-Received: by 10.28.176.200 with SMTP id z191mr38617655wme.102.1449692735985; Wed, 09 Dec 2015 12:25:35 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id bh6sm9275906wjb.0.2015.12.09.12.25.35 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Dec 2015 12:25:35 -0800 (PST) From: Thomas Monjalon To: Chas Williams <3chas3@gmail.com> Date: Wed, 09 Dec 2015 21:24:20 +0100 Message-ID: <2180549.KrJFcjR66Z@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1449586104-9977-1-git-send-email-3chas3@gmail.com> References: <1449586104-9977-1-git-send-email-3chas3@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] bnx2x: check sc->state to prevent double init 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 Dec 2015 20:25:36 -0000 2015-12-08 09:48, Chas Williams: > If the link is up, then the driver cannot be stopped and started > successfully. Instead of checking the link status, use the driver's > state. > > Signed-off-by: Chas Williams <3chas3@gmail.com> Applied, thanks