Home
last modified time | relevance | path

Searched refs:nb_vchans (Results 1 – 9 of 9) sorted by relevance

/dpdk/lib/dmadev/
H A Drte_dmadev.c431 dev_info->nb_vchans = dev->data->dev_conf.nb_vchans; in rte_dma_info_get()
458 if (dev_conf->nb_vchans == 0) { in rte_dma_configure()
463 if (dev_conf->nb_vchans > dev_info.max_vchans) { in rte_dma_configure()
493 if (dev->data->dev_conf.nb_vchans == 0) { in rte_dma_start()
589 if (dev->data->dev_conf.nb_vchans == 0) { in rte_dma_vchan_setup()
593 if (vchan >= dev_info.nb_vchans) { in rte_dma_vchan_setup()
663 if (vchan >= dev->data->dev_conf.nb_vchans && in rte_dma_stats_get()
684 if (vchan >= dev->data->dev_conf.nb_vchans && in rte_dma_stats_reset()
703 if (vchan >= dev->data->dev_conf.nb_vchans) { in rte_dma_vchan_status()
780 (void)fprintf(f, " nb_vchans_configured: %u\n", dev_info.nb_vchans); in rte_dma_dump()
H A Drte_dmadev.h309 uint16_t nb_vchans; member
340 uint16_t nb_vchans; member
/dpdk/app/test/
H A Dtest_dmadev_api.c158 conf.nb_vchans = info.max_vchans + 1; in test_dma_configure()
164 conf.nb_vchans = info.max_vchans; in test_dma_configure()
171 conf.nb_vchans = info.max_vchans; in test_dma_configure()
178 RTE_TEST_ASSERT_EQUAL(conf.nb_vchans, info.nb_vchans, in test_dma_configure()
258 dev_conf.nb_vchans = dev_info.max_vchans; in test_dma_vchan_setup()
263 ret = rte_dma_vchan_setup(test_dev_id, dev_conf.nb_vchans, &vchan_conf); in test_dma_vchan_setup()
304 dev_conf.nb_vchans = dev_info.max_vchans; in setup_one_vchan()
H A Dtest_dmadev.c744 const struct rte_dma_conf conf = { .nb_vchans = 1}; in test_dmadev_instance()
769 if (ret != 0 || info.nb_vchans != 1) in test_dmadev_instance()
/dpdk/examples/dma/
H A Ddmafwd.c780 struct rte_dma_conf dev_config = { .nb_vchans = 1 }; in configure_dmadev_queue()
795 if (info.nb_vchans != 1) { in configure_dmadev_queue()
/dpdk/drivers/dma/cnxk/
H A Dcnxk_dmadev.c29 dev_info->nb_vchans = 1; in cnxk_dmadev_info_get()
/dpdk/drivers/dma/idxd/
H A Didxd_common.c498 if (dev_conf->nb_vchans != 1) in idxd_configure()
/dpdk/examples/vhost/
H A Dmain.c230 struct rte_dma_conf dev_config = { .nb_vchans = 1 }; in open_dma()
317 if (info.nb_vchans != 1) { in open_dma()
/dpdk/drivers/dma/ioat/
H A Dioat_dmadev.c36 if (dev_conf->nb_vchans != 1) in ioat_dev_configure()