From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 3E1C21B6DE for ; Tue, 24 Oct 2017 00:26:44 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id DB03020D6A; Mon, 23 Oct 2017 18:26:43 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 23 Oct 2017 18:26:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=CWqD2fZ7qG1FKWCp3WZhpaj5u7 1TIc4dysAu3QBa4t4=; b=kEeQhbT8IOXCTxS0rhZtC3daWRitZCuxo3LEcwisug LtN/emU89A8C7HUNSt2oItWD8RJhSoTsdBITom0TnIp/iKXiiFTY0PoYW3RgCYsZ yx0roU5xlt9oDfiBfQbZ3v64Ny/aOEB0lF4WXo2sp/wPMGLVd+5ZAj1GsJUAi/ZU 8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=CWqD2f Z7qG1FKWCp3WZhpaj5u71TIc4dysAu3QBa4t4=; b=hm7X/Zw3W+DZA67EWuXoZZ KdfoWBdmmx5Pn8Lnmle3HYEwYcUfOSsuUP+GqclgQsAVshR5awX3iceJuGk/MrRc vT84tNOCxUrZIM5A/d5KRBDJYhiPgwrCB+JCl2dUBFFPIYYdLZaN/XXHlJUxQkKe zTcc2n35iXcBYoRezEPy9NzwoH3Jvvvr8M4uZnlosuy+rKx/5GrdHIiq6eafvxT3 gut90VDxCkUsGc/sa/5o0c0eLVZo0H6xv8HQrD7qHMCuOA2BB3uodqMcRTbRvCf5 UutNbEFTCpWu69l8i1pu/lkNkKfMCT6TIC49VYDobdFIcCRuF8XmMewZWnY9tXmA == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 90B257F967; Mon, 23 Oct 2017 18:26:43 -0400 (EDT) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org, Lee Daly Date: Tue, 24 Oct 2017 00:26:42 +0200 Message-ID: <23588078.4ocSR9eRyN@xps> In-Reply-To: <20171020000351.57868-3-ferruh.yigit@intel.com> References: <20171020000351.57868-1-ferruh.yigit@intel.com> <20171020000351.57868-3-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 3/3] ethdev: fix negative return values in xstats 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: Mon, 23 Oct 2017 22:26:44 -0000 Suggested title: check more errors in xstats retrieval 20/10/2017 02:03, Ferruh Yigit: > Some function calls in xstat functions can return negative values > to indicate the error, check return values for those cases. > > Coverity issue: 195028, 195026 > Fixes: 8c49d5f1c219 ("ethdev: rework xstats retrieve by id") > > Signed-off-by: Ferruh Yigit Acked-by: Thomas Monjalon