From: Nipun Gupta Date: Wed, 19 Jul 2017 14:18:32 +0000 (+0530) Subject: event/dpaa2: advertise burst mode capability X-Git-Tag: spdx-start~2418 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=11952a072e5388fc3ec5179bc719c3a27b807b46;p=dpdk.git event/dpaa2: advertise burst mode capability Burst mode capability flag was introduced in 73e6b8c9 for event drivers. DPAA2 event driver supports burst mode so this patch adds this capability flag in DPAA2 event driver Signed-off-by: Nipun Gupta Reviewed-by: Jerin Jacob --- diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index ed573762f9..cf2d2741a8 100644 --- a/drivers/event/dpaa2/dpaa2_eventdev.c +++ b/drivers/event/dpaa2/dpaa2_eventdev.c @@ -315,7 +315,8 @@ dpaa2_eventdev_info_get(struct rte_eventdev *dev, dev_info->max_event_port_enqueue_depth = DPAA2_EVENT_MAX_PORT_ENQUEUE_DEPTH; dev_info->max_num_events = DPAA2_EVENT_MAX_NUM_EVENTS; - dev_info->event_dev_cap = RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED; + dev_info->event_dev_cap = RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED | + RTE_EVENT_DEV_CAP_BURST_MODE; } static int