eventdev: fix xstats documentation typo
PATCH 1/1 eventdev: fix xstats documentation typo
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 <[email protected]>
--- lib/librte_eventdev/rte_eventdev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
lib/librte_eventdev/rte_eventdev.h +2 -2
@@ -1893,7 +1893,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
@@ -1921,7 +1921,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
Signature · 1 line
2.13.6
Jerin Jacob Kollanukkaran
AppliedQuoted 10 lines · Gage Eads
The eventdev extended stats documentation referred to two non- existent
functions,rte_eventdev_xstats_getandrte_eventdev_get_xstats_by_name.Fixes 3ed7fc039a ("eventdev: add extended stats")Signed-off-by Gage Eads <[email protected]>
Applied to dpdk-next-eventdev/master. Thanks.