[RFC,v2,02/26] eventdev: remove use of ethev queues define
Checks
Commit Message
The max queues per port definition is intended for use for ethdevs, so
it's use for a dummy array in eventdev is likely wrong. Since the array
is intended to be for eventdev ports, use RTE_EVENT_MAX_PORTS_PER_DEV
define instead.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
lib/eventdev/eventdev_private.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -99,7 +99,7 @@ dummy_event_port_profile_switch(__rte_unused void *port, __rte_unused uint8_t pr
void
event_dev_fp_ops_reset(struct rte_event_fp_ops *fp_op)
{
- static void *dummy_data[RTE_MAX_QUEUES_PER_PORT];
+ static void *dummy_data[RTE_EVENT_MAX_PORTS_PER_DEV];
static const struct rte_event_fp_ops dummy = {
.enqueue = dummy_event_enqueue,
.enqueue_burst = dummy_event_enqueue_burst,