MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_rawdev_xstats_get

Function rte_rawdev_xstats_get

dpdk/lib/rawdev/rte_rawdev.c:296–308  ·  view source on GitHub ↗

retrieve rawdev extended statistics */

Source from the content-addressed store, hash-verified

294
295/* retrieve rawdev extended statistics */
296int
297rte_rawdev_xstats_get(uint16_t dev_id,
298 const unsigned int ids[],
299 uint64_t values[],
300 unsigned int n)
301{
302 RTE_RAWDEV_VALID_DEVID_OR_ERR_RET(dev_id, -ENODEV);
303 const struct rte_rawdev *dev = &rte_rawdevs[dev_id];
304
305 if (*dev->dev_ops->xstats_get == NULL)
306 return -ENOTSUP;
307 return (*dev->dev_ops->xstats_get)(dev, ids, values, n);
308}
309
310uint64_t
311rte_rawdev_xstats_by_name_get(uint16_t dev_id,

Callers 2

handle_dev_xstatsFunction · 0.85
ntb_stats_displayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected