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

Function rte_rawdev_dump

dpdk/lib/rawdev/rte_rawdev.c:249–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249int
250rte_rawdev_dump(uint16_t dev_id, FILE *f)
251{
252 struct rte_rawdev *dev;
253
254 RTE_RAWDEV_VALID_DEVID_OR_ERR_RET(dev_id, -EINVAL);
255 dev = &rte_rawdevs[dev_id];
256
257 if (*dev->dev_ops->dump == NULL)
258 return -ENOTSUP;
259 return (*dev->dev_ops->dump)(dev, f);
260}
261
262static int
263xstats_get_count(uint16_t dev_id)

Callers 1

handle_dev_dumpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected