summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHemant Agrawal <hemant.agrawal@nxp.com>2019-09-30 14:02:10 +0530
committerJerin Jacob <jerinj@marvell.com>2019-10-05 15:39:31 +0200
commit6f213fe94002cd446e919ecc79715656a2657a50 (patch)
tree9281bfb707616d1e52c9e03d35b8dd2eac08a44a /drivers
parent49e74e0876f94a5287192c4e61e7b3781f2677f4 (diff)
downloaddpdk-6f213fe94002cd446e919ecc79715656a2657a50.zip
dpdk-6f213fe94002cd446e919ecc79715656a2657a50.tar.gz
dpdk-6f213fe94002cd446e919ecc79715656a2657a50.tar.xz
event/dpaa2: fix default queue configuration
Test vector expect only one type of scheduling as default. The old code is provide support scheduling types instead of default. Fixes: 13370a3877a5 ("eventdev: fix inconsistency in queue config") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/event/dpaa2/dpaa2_eventdev.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c
index 926b7ed..b8cb437 100644
--- a/drivers/event/dpaa2/dpaa2_eventdev.c
+++ b/drivers/event/dpaa2/dpaa2_eventdev.c
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause
- *
- * Copyright 2017 NXP
- *
+ * Copyright 2017,2019 NXP
*/
#include <assert.h>
@@ -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;
}