[dpdk-stable] patch 'eventdev: fix xstats documentation typo' has been queued to LTS release 17.11.6

Yongseok Koh yskoh at mellanox.com
Fri Mar 8 18:46:50 CET 2019


Hi,

FYI, your patch has been queued to LTS release 17.11.6

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objection by 03/13/19. So please
shout if anyone has objection.

Also note that after the patch there's a diff of the upstream commit vs the patch applied
to the branch. If the code is different (ie: not only metadata diffs), due for example to
a change in context or macro names, please double check it.

Thanks.

Yongseok

---
>From 9c49c9cd992d04702e6cf0cd5adb9c304dcb6797 Mon Sep 17 00:00:00 2001
From: Gage Eads <gage.eads at intel.com>
Date: Mon, 3 Dec 2018 14:05:04 -0600
Subject: [PATCH] eventdev: fix xstats documentation typo

[ upstream commit 1f7a11026988955b865a2b9f570f5cff087bd9b1 ]

The eventdev extended stats documentation referred to two non-existent
functions, rte_eventdev_xstats_get and rte_eventdev_get_xstats_by_name.

Fixes: 3ed7fc039a ("eventdev: add extended stats")

Signed-off-by: Gage Eads <gage.eads at intel.com>
---
 lib/librte_eventdev/rte_eventdev.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h
index eb1024d95..740da8f3f 100644
--- a/lib/librte_eventdev/rte_eventdev.h
+++ b/lib/librte_eventdev/rte_eventdev.h
@@ -1705,7 +1705,7 @@ rte_event_dev_xstats_names_get(uint8_t dev_id,
  * @param ids
  *   The id numbers of the stats to get. The ids can be got from the stat
  *   position in the stat list from rte_event_dev_get_xstats_names(), or
- *   by using rte_eventdev_get_xstats_by_name()
+ *   by using rte_event_dev_xstats_by_name_get().
  * @param[out] values
  *   The values for each stats request by ID.
  * @param n
@@ -1733,7 +1733,7 @@ rte_event_dev_xstats_get(uint8_t dev_id,
  *   The stat name to retrieve
  * @param[out] id
  *   If non-NULL, the numerical id of the stat will be returned, so that further
- *   requests for the stat can be got using rte_eventdev_xstats_get, which will
+ *   requests for the stat can be got using rte_event_dev_xstats_get, which will
  *   be faster as it doesn't need to scan a list of names for the stat.
  *   If the stat cannot be found, the id returned will be (unsigned)-1.
  * @return
-- 
2.11.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-03-08 09:46:40.980119350 -0800
+++ 0012-eventdev-fix-xstats-documentation-typo.patch	2019-03-08 09:46:40.006397000 -0800
@@ -1,13 +1,14 @@
-From 1f7a11026988955b865a2b9f570f5cff087bd9b1 Mon Sep 17 00:00:00 2001
+From 9c49c9cd992d04702e6cf0cd5adb9c304dcb6797 Mon Sep 17 00:00:00 2001
 From: Gage Eads <gage.eads at intel.com>
 Date: Mon, 3 Dec 2018 14:05:04 -0600
 Subject: [PATCH] eventdev: fix xstats documentation typo
 
+[ upstream commit 1f7a11026988955b865a2b9f570f5cff087bd9b1 ]
+
 The eventdev extended stats documentation referred to two non-existent
 functions, rte_eventdev_xstats_get and rte_eventdev_get_xstats_by_name.
 
 Fixes: 3ed7fc039a ("eventdev: add extended stats")
-Cc: stable at dpdk.org
 
 Signed-off-by: Gage Eads <gage.eads at intel.com>
 ---
@@ -15,10 +16,10 @@
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h
-index d7eb69d1f..ef10a855d 100644
+index eb1024d95..740da8f3f 100644
 --- a/lib/librte_eventdev/rte_eventdev.h
 +++ b/lib/librte_eventdev/rte_eventdev.h
-@@ -1893,7 +1893,7 @@ rte_event_dev_xstats_names_get(uint8_t dev_id,
+@@ -1705,7 +1705,7 @@ rte_event_dev_xstats_names_get(uint8_t dev_id,
   * @param ids
   *   The id numbers of the stats to get. The ids can be got from the stat
   *   position in the stat list from rte_event_dev_get_xstats_names(), or
@@ -27,7 +28,7 @@
   * @param[out] values
   *   The values for each stats request by ID.
   * @param n
-@@ -1921,7 +1921,7 @@ rte_event_dev_xstats_get(uint8_t dev_id,
+@@ -1733,7 +1733,7 @@ rte_event_dev_xstats_get(uint8_t dev_id,
   *   The stat name to retrieve
   * @param[out] id
   *   If non-NULL, the numerical id of the stat will be returned, so that further


More information about the stable mailing list