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

Function dma_dump_capability

dpdk/lib/dmadev/rte_dmadev.c:779–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

777}
778
779static void
780dma_dump_capability(FILE *f, uint64_t dev_capa)
781{
782 uint64_t capa;
783
784 (void)fprintf(f, " dev_capa: 0x%" PRIx64 " -", dev_capa);
785 while (dev_capa > 0) {
786 capa = 1ull << rte_ctz64(dev_capa);
787 (void)fprintf(f, " %s", dma_capability_name(capa));
788 dev_capa &= ~capa;
789 }
790 (void)fprintf(f, "\n");
791}
792
793int
794rte_dma_dump(int16_t dev_id, FILE *f)

Callers 1

rte_dma_dumpFunction · 0.85

Calls 2

rte_ctz64Function · 0.85
dma_capability_nameFunction · 0.85

Tested by

no test coverage detected