1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2021 HiSilicon Limited
3 * Copyright(c) 2021 Intel Corporation
6 #include <rte_dmadev.h>
7 #include <rte_bus_vdev.h>
10 #include "test_dmadev_api.h"
15 const char *pmd = "dma_skeleton";
19 if (rte_vdev_init(pmd, NULL) < 0)
21 id = rte_dma_get_dev_id_by_name(pmd);
24 printf("\n### Test dmadev infrastructure using skeleton driver\n");
25 ret = test_dma_api(id);
34 /* basic sanity on dmadev infrastructure */
41 REGISTER_TEST_COMMAND(dmadev_autotest, test_dma);