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

Function dmadev_dump

dpdk/examples/dma/dmafwd.c:1021–1032  ·  view source on GitHub ↗

Get a device dump for each device being used by the application */

Source from the content-addressed store, hash-verified

1019
1020/* Get a device dump for each device being used by the application */
1021static void
1022dmadev_dump(void)
1023{
1024 uint32_t i, j;
1025
1026 if (copy_mode != COPY_MODE_DMA_NUM)
1027 return;
1028
1029 for (i = 0; i < cfg.nb_ports; i++)
1030 for (j = 0; j < cfg.ports[i].nb_queues; j++)
1031 rte_dma_dump(cfg.ports[i].dmadev_ids[j], stdout);
1032}
1033
1034static void
1035signal_handler(int signum)

Callers 1

signal_handlerFunction · 0.85

Calls 1

rte_dma_dumpFunction · 0.85

Tested by

no test coverage detected