All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] event/dpaa2: advertise the burst mode capability
@ 2017-07-19 14:18 Nipun Gupta
  2017-07-19 14:45 ` Jerin Jacob
  0 siblings, 1 reply; 2+ messages in thread
From: Nipun Gupta @ 2017-07-19 14:18 UTC (permalink / raw)
  To: dev; +Cc: hemant.agarwal, jerin.jacob, thomas, Nipun Gupta

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 <nipun.gupta@nxp.com>
---
 drivers/event/dpaa2/dpaa2_eventdev.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c
index ed57376..cf2d274 100644
--- a/drivers/event/dpaa2/dpaa2_eventdev.c
+++ b/drivers/event/dpaa2/dpaa2_eventdev.c
@@ -315,7 +315,8 @@ static void dpaa2_eventdev_process_atomic(struct qbman_swp *swp,
 	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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] event/dpaa2: advertise the burst mode capability
  2017-07-19 14:18 [PATCH] event/dpaa2: advertise the burst mode capability Nipun Gupta
@ 2017-07-19 14:45 ` Jerin Jacob
  0 siblings, 0 replies; 2+ messages in thread
From: Jerin Jacob @ 2017-07-19 14:45 UTC (permalink / raw)
  To: Nipun Gupta; +Cc: dev, hemant.agarwal, thomas

-----Original Message-----
> Date: Wed, 19 Jul 2017 19:48:32 +0530
> From: Nipun Gupta <nipun.gupta@nxp.com>
> To: dev@dpdk.org
> CC: hemant.agarwal@nxp.com, jerin.jacob@caviumnetworks.com,
>  thomas@monjalon.net, Nipun Gupta <nipun.gupta@nxp.com>
> Subject: [PATCH] event/dpaa2: advertise the burst mode capability
> X-Mailer: git-send-email 1.9.1
> 
> 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 <nipun.gupta@nxp.com>

Reviewed-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>

> ---
>  drivers/event/dpaa2/dpaa2_eventdev.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c
> index ed57376..cf2d274 100644
> --- a/drivers/event/dpaa2/dpaa2_eventdev.c
> +++ b/drivers/event/dpaa2/dpaa2_eventdev.c
> @@ -315,7 +315,8 @@ static void dpaa2_eventdev_process_atomic(struct qbman_swp *swp,
>  	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
> -- 
> 1.9.1
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-19 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-19 14:18 [PATCH] event/dpaa2: advertise the burst mode capability Nipun Gupta
2017-07-19 14:45 ` Jerin Jacob

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.