Skip to content

Commit

Permalink
event/dpaa2: fix default queue configuration
Browse files Browse the repository at this point in the history
Test vector expect only one type of scheduling as default.
The old code is provide support scheduling types instead of default.

Fixes: 13370a3 ("eventdev: fix inconsistency in queue config")
Cc: stable@dpdk.org

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
  • Loading branch information
hemantagr authored and jerinjacobk committed Oct 5, 2019
1 parent 49e74e0 commit 6f213fe
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions drivers/event/dpaa2/dpaa2_eventdev.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright 2017 NXP
*
* Copyright 2017,2019 NXP
*/

#include <assert.h>
Expand Down Expand Up @@ -470,8 +468,7 @@ dpaa2_eventdev_queue_def_conf(struct rte_eventdev *dev, uint8_t queue_id,
RTE_SET_USED(queue_conf);

queue_conf->nb_atomic_flows = DPAA2_EVENT_QUEUE_ATOMIC_FLOWS;
queue_conf->schedule_type = RTE_SCHED_TYPE_ATOMIC |
RTE_SCHED_TYPE_PARALLEL;
queue_conf->schedule_type = RTE_SCHED_TYPE_PARALLEL;
queue_conf->priority = RTE_EVENT_DEV_PRIORITY_NORMAL;
}

Expand Down

0 comments on commit 6f213fe

Please sign in to comment.