event/dsw: ignore scheduling type for single-link queues
authorMattias Rönnblom <mattias.ronnblom@ericsson.com>
Fri, 10 May 2019 12:18:16 +0000 (14:18 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 13 May 2019 14:19:05 +0000 (16:19 +0200)
commit7e192bdb0c55745a81e7f5e0eaf2b7a911aeadd4
treef805d8f64d4410bab968955cf96a2e36a1118516
parent339677f87023ccfa8d96b88dd4469a0dc25f813d
event/dsw: ignore scheduling type for single-link queues

The scheduling type parameter is not applicable for single link
queues. DSW would, at the time of rte_event_queue_setup(), erroneously
verify that scheduling type was one of the supported types, and
returned -ENOTSUP in case of RTE_SCHED_TYPE_ORDERED.

Fixes: 4540ee9c68 ("event/dsw: add device and queue configuration")
Cc: stable@dpdk.org
Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
Acked-by: Gage Eads <gage.eads@intel.com>
drivers/event/dsw/dsw_evdev.c