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

Function rte_compressdev_stats_reset

dpdk/lib/compressdev/rte_compressdev.c:627–642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

625}
626
627void
628rte_compressdev_stats_reset(uint8_t dev_id)
629{
630 struct rte_compressdev *dev;
631
632 if (!rte_compressdev_is_valid_dev(dev_id)) {
633 COMPRESSDEV_LOG(ERR, "Invalid dev_id=%" PRIu8, dev_id);
634 return;
635 }
636
637 dev = &rte_comp_devices[dev_id];
638
639 if (*dev->dev_ops->stats_reset == NULL)
640 return;
641 (*dev->dev_ops->stats_reset)(dev);
642}
643
644
645void

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected