| 385 | } |
| 386 | |
| 387 | static int |
| 388 | test_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 | |
| 401 | static void |
| 402 | setup_memory(void) |
nothing calls this directly
no test coverage detected