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

Function rte_event_dev_xstats_reset

dpdk/lib/eventdev/rte_eventdev.c:1385–1396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1383}
1384
1385int rte_event_dev_xstats_reset(uint8_t dev_id,
1386 enum rte_event_dev_xstats_mode mode, int16_t queue_port_id,
1387 const uint64_t ids[], uint32_t nb_ids)
1388{
1389 RTE_EVENTDEV_VALID_DEVID_OR_ERR_RET(dev_id, -EINVAL);
1390 struct rte_eventdev *dev = &rte_eventdevs[dev_id];
1391
1392 if (dev->dev_ops->xstats_reset != NULL)
1393 return (*dev->dev_ops->xstats_reset)(dev, mode, queue_port_id,
1394 ids, nb_ids);
1395 return -ENOTSUP;
1396}
1397
1398int rte_event_pmd_selftest_seqn_dynfield_offset = -1;
1399

Callers 3

xstats_testsFunction · 0.85
xstats_id_reset_testsFunction · 0.85
xstats_resetFunction · 0.85

Calls

no outgoing calls

Tested by 2

xstats_testsFunction · 0.68
xstats_id_reset_testsFunction · 0.68