From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by dpdk.org (Postfix) with ESMTP id 882E92B87 for ; Thu, 28 Feb 2019 18:23:19 +0100 (CET) Received: by mail-pf1-f196.google.com with SMTP id v21so10019145pfm.12 for ; Thu, 28 Feb 2019 09:23:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lIk71t/2x0OQuuoIuTntIxTeZ2NWAD4h/xNBXTb90Po=; b=WsikO1yBn8GiYTwfmHR3ZtAGBD2DpQ7Lx7r+cURq76E0MDZ64rl5XmmyHLCipwzVA9 eucVEqVf/m4Q8N3KH86nL5WiJ0UR3aKWST1ady7vTegbfMcUj6jLbrrOfyUkBsUo1oaC j5rdR3XRZrAOyQHxSEVrKETnnq0DmEZM3It3Y3AWRoZ4UFv33/pCWKNfL9vWIG/6a5FC +xRM0Y0OZJBugYiJ/osQXMDR4aaW7GdtwlDMyRL+tL6QR5JOmO6XiFcPhWOWEdSNPnt7 xl3+pfvCSef3OJSsNJoCfYSjzqcPb8fU1NimLL/64YMPCBHVM0a1rKfd6fyHCS3Y94aV cq8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lIk71t/2x0OQuuoIuTntIxTeZ2NWAD4h/xNBXTb90Po=; b=U9mR3Cye7P0RPdsDKjV/wyEeIGHlRhPUANiIzwIuLScWGfSkdlpnRw5f4KRV+0BGzl h1+h7DEVGiI6rYs4k+DEpKJK2A7P74UKcYDfRhkFg6ewQxqvUnDA5XaWBGmay2UoHsXl jeCkg7WKVQ2ZPY4vU5JcZv8EnJXh5qef06IWisqus7ofTeUJguTGb9t++awayS4MM8an zty3LOR4SOtnnySF8x+PeIpxxIJUxypTSyMl0N4oHbZ3zaoRZQkyU+LMuqweKKhMZtNi cq19J9CPzi37793zFPh5aGGRJzGotkdyJP7DzSvoIbJF+Vs+bUxumgbrnrFbOjQ5Emge EENA== X-Gm-Message-State: APjAAAUGHgIrLlxzQeDpDR2eXWzooOgouAnjeJNcBqCb/3uzJOA52+bL iAK8yETyZtYdKoHOi3l70FvucQ== X-Google-Smtp-Source: APXvYqyZwT6SrWqeD7XG3C77PgV0UKBouCRytpa1i8Zjon1WWmMSVO42v/EblBo5+x9buH6zwTq6Aw== X-Received: by 2002:a65:63c2:: with SMTP id n2mr188688pgv.439.1551374598691; Thu, 28 Feb 2019 09:23:18 -0800 (PST) Received: from shemminger-XPS-13-9360 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id a20sm44374855pfj.5.2019.02.28.09.23.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Feb 2019 09:23:18 -0800 (PST) Date: Thu, 28 Feb 2019 09:23:15 -0800 From: Stephen Hemminger To: Raslan Darawsheh Cc: "gaetan.rivet@6wind.com" , "dev@dpdk.org" , Thomas Monjalon Message-ID: <20190228092315.04fffaa9@shemminger-XPS-13-9360> In-Reply-To: <1551368952-1871-5-git-send-email-rasland@mellanox.com> References: <1551368952-1871-1-git-send-email-rasland@mellanox.com> <1551368952-1871-5-git-send-email-rasland@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 4/4] net/failsafe: support secondary process X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2019 17:23:19 -0000 On Thu, 28 Feb 2019 15:49:28 +0000 Raslan Darawsheh wrote: > > static int > +devargs_already_listed(struct rte_devargs *devargs) Why not make this function bool? static bool devargs_already_listed(...)