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

Function test_dma_dump

dpdk/app/test/test_dmadev_api.c:387–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385}
386
387static int
388test_dma_dump(void)
389{
390 int ret;
391
392 /* Check for invalid parameters */
393 ret = rte_dma_dump(invalid_dev_id, stderr);
394 RTE_TEST_ASSERT(ret == -EINVAL, "Excepted -EINVAL, %d", ret);
395 ret = rte_dma_dump(test_dev_id, NULL);
396 RTE_TEST_ASSERT(ret == -EINVAL, "Excepted -EINVAL, %d", ret);
397
398 return TEST_SUCCESS;
399}
400
401static void
402setup_memory(void)

Callers

nothing calls this directly

Calls 1

rte_dma_dumpFunction · 0.85

Tested by

no test coverage detected