From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] bnx2x: check sc->state to prevent double init Date: Wed, 09 Dec 2015 21:24:20 +0100 Message-ID: <2180549.KrJFcjR66Z@xps13> References: <1449586104-9977-1-git-send-email-3chas3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Chas Williams <3chas3@gmail.com> 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) In-Reply-To: <1449586104-9977-1-git-send-email-3chas3@gmail.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" 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