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

Function disable_pdump

dpdk/app/pdump/main.c:454–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454static inline void
455disable_pdump(struct pdump_tuples *pt)
456{
457 if (pt->dump_by_type == DEVICE_ID)
458 rte_pdump_disable_by_deviceid(pt->device_id, pt->queue,
459 pt->dir);
460 else if (pt->dump_by_type == PORT_ID)
461 rte_pdump_disable(pt->port, pt->queue, pt->dir);
462}
463
464static inline void
465pdump_rxtx(struct rte_ring *ring, uint16_t vdev_id, struct pdump_stats *stats)

Callers 1

cleanup_pdump_resourcesFunction · 0.85

Calls 2

rte_pdump_disableFunction · 0.85

Tested by

no test coverage detected