Skip to content

Commit

Permalink
event/dsw: fix capability flags
Browse files Browse the repository at this point in the history
[ upstream commit 773025c ]

The DSW event device didn't set RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT
and RTE_EVENT_DEV_CAP_NONSEQ_MODE, even though it has both these
capabilities.

Fixes: 4540ee9 ("event/dsw: add device and queue configuration")

Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
  • Loading branch information
m-ronnblom authored and kevintraynor committed May 8, 2019
1 parent 0a784ce commit 7db88ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/event/dsw/dsw_evdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,9 @@ dsw_info_get(struct rte_eventdev *dev __rte_unused,
.max_event_port_enqueue_depth = DSW_MAX_PORT_ENQUEUE_DEPTH,
.max_num_events = DSW_MAX_EVENTS,
.event_dev_cap = RTE_EVENT_DEV_CAP_BURST_MODE|
RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED
RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED|
RTE_EVENT_DEV_CAP_NONSEQ_MODE|
RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT
};
}

Expand Down

0 comments on commit 7db88ea

Please sign in to comment.