From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id EF3CEE62 for ; Tue, 15 Dec 2015 17:06:39 +0100 (CET) Received: by mail-wm0-f49.google.com with SMTP id n186so33001403wmn.0 for ; Tue, 15 Dec 2015 08:06:39 -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; bh=RIq5l2aYF4ab+qmh0tNdMCreqi2AOH9/5JDaxkMENMA=; b=spV0CvPoyanTej15xAOzS9cA3u4ItW0aU4FcOkOTs8YUfp4zN3LMFVtwx0kzFZHzkG 2UIXGJABDlRh/PH+xk9s1yjmDMTGgwtncvKZk9susU7n5nAOgIu9nchgVz0FGtzLGQrx oYjMk77Js/T917N2b9SyjwI6bxwssrsh6rfcfBcHpTj7E+uf9CMy2P87TM3faz2+nAmw pnimCGnpOw0Tv6yeAxm3X0+SZCWDzCgNx/vR2/pULtY6td1clgBeWiWVxplzSh/tPbxC pHmkXbmu1TQgLe0q4MMV94puHyoNYGF+cjy070MiuhqYtHgCROmCrgZHp757MmQmuJsi 41UA== 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; bh=RIq5l2aYF4ab+qmh0tNdMCreqi2AOH9/5JDaxkMENMA=; b=Ua4QPnejXbNE5Lv5hdbiCkUc8fKN//owHyGnPD3NBMym1Ypp5rsA3zgeiVNV5VkL0L EandMpeocr70y4eIqxxTE3Zy4RJrG1F34BYFw7MfGj7DQxrx5rynRHT1thF9cNfskzMG A6qejnwjKHRFqIhGO/ZXqQ0cRDZuX2KQhRu9lYjyCWQkshAQqQYm5/T1WmF0UiGspFPW ookiUuxh/xgf8jaQsayPkbRRdenaM1Yy2xnoQPwXOb0XrnKQpoOPvHdsHet8axz4us6F uyJ5tJ80LLve/5EC7+oQBVMqBNREsztkLi9PDsRV7wTuWCAxvlgOrR2Krdh70LD+fzme SKmQ== X-Gm-Message-State: ALoCoQlwYhlynxY2WAWgE6t7w65zR0S1ZWrOrO2eGDSV/aF/dEsBPt2NYRJcwy90cc1mmmzsrIL1/5E3VkGVlyCo5DBybXWFYg== X-Received: by 10.194.19.133 with SMTP id f5mr52949568wje.48.1450195574252; Tue, 15 Dec 2015 08:06:14 -0800 (PST) Received: from tom.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id u134sm21638064wmd.0.2015.12.15.08.06.13 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Dec 2015 08:06:13 -0800 (PST) From: Robin Jarry To: harry.van.haaren@intel.com Date: Tue, 15 Dec 2015 17:05:01 +0100 Message-Id: <1450195501-9196-1-git-send-email-robin.jarry@6wind.com> X-Mailer: git-send-email 2.1.4 Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH] ixgbe: restore imissed stat counter 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: Tue, 15 Dec 2015 16:06:40 -0000 This counter was left unmodified. Restore it in ixgbe_dev_stats_get. The ierrors counter still includes imissed for ixgbe. This behaviour is not consistent amongst all drivers. Another patch may be needed to unify the meaning of the ierrors counter. Fixes: 5e50ad1c1b63 ("ixgbe: add specific stats") Signed-off-by: Robin Jarry --- drivers/net/ixgbe/ixgbe_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 1b6cd8efe815..4c4c6dfb1622 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -2546,6 +2546,7 @@ ixgbe_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats) } /* Rx Errors */ + stats->imissed = total_missed_rx; stats->ierrors = hw_stats->crcerrs + hw_stats->mspdc + hw_stats->rlec + -- 2.1.4