}
}
-int __rte_experimental
+int
rte_qdma_init(void)
{
DPAA2_QDMA_FUNC_TRACE();
return 0;
}
-void __rte_experimental
+void
rte_qdma_attr_get(struct rte_qdma_attr *qdma_attr)
{
DPAA2_QDMA_FUNC_TRACE();
qdma_attr->num_hw_queues = qdma_dev.num_hw_queues;
}
-int __rte_experimental
+int
rte_qdma_reset(void)
{
struct qdma_hw_queue *queue;
return 0;
}
-int __rte_experimental
+int
rte_qdma_configure(struct rte_qdma_config *qdma_config)
{
int ret;
return 0;
}
-int __rte_experimental
+int
rte_qdma_start(void)
{
DPAA2_QDMA_FUNC_TRACE();
return 0;
}
-int __rte_experimental
+int
rte_qdma_vq_create(uint32_t lcore_id, uint32_t flags)
{
char ring_name[32];
return job;
}
-void __rte_experimental
+void
rte_qdma_vq_stats(uint16_t vq_id,
struct rte_qdma_vq_stats *vq_status)
{
}
}
-int __rte_experimental
+int
rte_qdma_vq_destroy(uint16_t vq_id)
{
struct qdma_virt_queue *qdma_vq = &qdma_vqs[vq_id];
return 0;
}
-void __rte_experimental
+void
rte_qdma_stop(void)
{
DPAA2_QDMA_FUNC_TRACE();
qdma_dev.state = 0;
}
-void __rte_experimental
+void
rte_qdma_destroy(void)
{
DPAA2_QDMA_FUNC_TRACE();
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright 2018 NXP
+ * Copyright 2018-2019 NXP
*/
#ifndef __RTE_PMD_DPAA2_QDMA_H__
* - 0: Success.
* - <0: Error code.
*/
-int __rte_experimental
+int
rte_qdma_init(void);
/**
* @param qdma_attr
* QDMA attributes providing total number of hw queues etc.
*/
-void __rte_experimental
+void
rte_qdma_attr_get(struct rte_qdma_attr *qdma_attr);
/**
* - 0: Success.
* - <0: Error code.
*/
-int __rte_experimental
+int
rte_qdma_reset(void);
/**
* - 0: Success.
* - <0: Error code.
*/
-int __rte_experimental
+int
rte_qdma_configure(struct rte_qdma_config *qdma_config);
/**
* - 0: Success.
* - <0: Error code.
*/
-int __rte_experimental
+int
rte_qdma_start(void);
/**
* - >= 0: Virtual queue ID.
* - <0: Error code.
*/
-int __rte_experimental
+int
rte_qdma_vq_create(uint32_t lcore_id, uint32_t flags);
/**
* - >=0: Number of jobs successfully submitted
* - <0: Error code.
*/
-int __rte_experimental
+int
rte_qdma_vq_enqueue_multi(uint16_t vq_id,
struct rte_qdma_job **job,
uint16_t nb_jobs);
* - >=0: Number of jobs successfully submitted
* - <0: Error code.
*/
-int __rte_experimental
+int
rte_qdma_vq_enqueue(uint16_t vq_id,
struct rte_qdma_job *job);
* @returns
* Number of jobs actually dequeued.
*/
-int __rte_experimental
+int
rte_qdma_vq_dequeue_multi(uint16_t vq_id,
struct rte_qdma_job **job,
uint16_t nb_jobs);
* @param vq_stats
* VQ statistics structure which will be filled in by the driver.
*/
-void __rte_experimental
+void
rte_qdma_vq_stats(uint16_t vq_id,
struct rte_qdma_vq_stats *vq_stats);
* - 0: Success.
* - <0: Error code.
*/
-int __rte_experimental
+int
rte_qdma_vq_destroy(uint16_t vq_id);
/**
* Stop QDMA device.
*/
-void __rte_experimental
+void
rte_qdma_stop(void);
/**
* Destroy the QDMA device.
*/
-void __rte_experimental
+void
rte_qdma_destroy(void);
#endif /* __RTE_PMD_DPAA2_QDMA_H__*/