From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 3581E914 for ; Wed, 29 Jun 2016 18:59:57 +0200 (CEST) Received: by mail-wm0-f50.google.com with SMTP id f126so189676125wma.1 for ; Wed, 29 Jun 2016 09:59:57 -0700 (PDT) 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=1sBsDTmxO3xreOaooY6guZoo/vuSnsl4ph2a2b9yIwI=; b=o2lJ2aOJH3iU/S5UtNvstGY4IWBNQcSR9YkHoBacfqV0uzOuw+BlJZVmEY/LhaSfex sTq2kuCMdV1/PRHoelfdhZGn7qbtgReZ/aMRJ7fdx7VynqAWSlGoaic1Jql56bm57Y5u hsjc5TCQM5v8zOpoY2fNp6jMBG61T56d/0h3IoXKreI4jXA31lAN3hs72EXHkBY+pre6 yPUZY/gghIpXs804pcBwas/8fXZpwgMnmZ1tTne7gSfoeLLwzBvQZSKRGBpREfB0c5vW NmMWgbYRuYm3JFiyVaH2BfRXpXCajcJfXoLU/twK7dBn9eaNou+H6mi4FHVmKNkpNC5g DTWA== 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=1sBsDTmxO3xreOaooY6guZoo/vuSnsl4ph2a2b9yIwI=; b=HiuG5K/KAY2k9k9++mQdhtYq7kBVTxymv4oTPl1ujKYLoWRc5p3er0U1z0ZuLkU4GU CqFhyAQvtomZ96Po2goPlC4rPGjEFczLX19rrx1CrIyvOUVKB+7UF49BwwzcA2u+qg1Z bVKdx2jVJrosA1rFAcCooK9JXdpD4n2enGFxRawvv1R7MPkMsQguDX6JoUYRUoCLeMJh LbyYabSfySB6umRMjGpl1ElSRY1xXXeQzGPGsYXAt3Sb8FL7JrsgAgiuASgR29FskDN/ MIoL9Zr/VodLFzNHNa+KowNWa3zZFdkUxg1UtLmjU0/6fHnkiPDl7MHQ4KPOypkjmj5K 8Jlg== X-Gm-Message-State: ALyK8tJGihWhVoA2LKx/UhgoVvmet9m4gtx6CtqndQTnUb1DY46tqkIHavW7by5StGH/2x7d X-Received: by 10.28.7.20 with SMTP id 20mr10605452wmh.52.1467219596950; Wed, 29 Jun 2016 09:59:56 -0700 (PDT) Received: from XPS13.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id b200sm5140580wmb.9.2016.06.29.09.59.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Jun 2016 09:59:56 -0700 (PDT) From: Thomas Monjalon To: remy.horton@intel.com Cc: dev@dpdk.org Date: Wed, 29 Jun 2016 18:59:48 +0200 Message-Id: <1467219588-1097-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-dev] [PATCH] ethdev: fix extended statistics description 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, 29 Jun 2016 16:59:57 -0000 The old structure rte_eth_xstats contained names and values. The new structure rte_eth_xstat contains ids and values. Fixes: bd6aa172cf35 ("ethdev: fetch extended statistics with integer ids") Fixes: e2aae1c1ced9 ("ethdev: remove name from extended statistic fetch") Signed-off-by: Thomas Monjalon --- lib/librte_ether/rte_ethdev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index ebe6578..f86ad72 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -2316,8 +2316,8 @@ int rte_eth_xstats_get_names(uint8_t port_id, * @param port_id * The port identifier of the Ethernet device. * @param xstats - * A pointer to a table of structure of type *rte_eth_xstats* - * to be filled with device statistics names and values. + * A pointer to a table of structure of type *rte_eth_xstat* + * to be filled with device statistics ids and values. * This parameter can be set to NULL if n is 0. * @param n * The size of the stats table, which should be large enough to store -- 2.7.0