DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] event/dlb2: fix missing queue ordering capability flag
@ 2023-11-09 17:44 Bruce Richardson
  2023-11-10  7:25 ` Jerin Jacob
  2023-11-12 20:35 ` Sevincer, Abdullah
  0 siblings, 2 replies; 4+ messages in thread
From: Bruce Richardson @ 2023-11-09 17:44 UTC (permalink / raw)
  To: dev; +Cc: Abdullah Sevincer, Bruce Richardson, stable

The dlb2 driver did not advertise the fact that events could be enqueued
to it for any queues, not just those in numerical sequence. Add the
missing bit to the capabilities flag returned from the info_get()
function.

Fixes: d39e23f26e1e ("event/dlb2: fix advertized capabilities")
Fixes: e7c9971a857a ("event/dlb2: add probe-time hardware init")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 drivers/event/dlb2/dlb2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c
index e645f7595a..050ace0904 100644
--- a/drivers/event/dlb2/dlb2.c
+++ b/drivers/event/dlb2/dlb2.c
@@ -72,6 +72,7 @@ static struct rte_event_dev_info evdev_dlb2_default_info = {
 	.max_single_link_event_port_queue_pairs =
 		DLB2_MAX_NUM_DIR_PORTS(DLB2_HW_V2),
 	.event_dev_cap = (RTE_EVENT_DEV_CAP_EVENT_QOS |
+			  RTE_EVENT_DEV_CAP_NONSEQ_MODE |
 			  RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED |
 			  RTE_EVENT_DEV_CAP_QUEUE_ALL_TYPES |
 			  RTE_EVENT_DEV_CAP_BURST_MODE |
-- 
2.39.2


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

* Re: [PATCH] event/dlb2: fix missing queue ordering capability flag
  2023-11-09 17:44 [PATCH] event/dlb2: fix missing queue ordering capability flag Bruce Richardson
@ 2023-11-10  7:25 ` Jerin Jacob
  2023-11-12 20:35 ` Sevincer, Abdullah
  1 sibling, 0 replies; 4+ messages in thread
From: Jerin Jacob @ 2023-11-10  7:25 UTC (permalink / raw)
  To: Bruce Richardson; +Cc: dev, Abdullah Sevincer, stable

On Thu, Nov 9, 2023 at 11:14 PM Bruce Richardson
<bruce.richardson@intel.com> wrote:
>
> The dlb2 driver did not advertise the fact that events could be enqueued
> to it for any queues, not just those in numerical sequence. Add the
> missing bit to the capabilities flag returned from the info_get()
> function.
>
> Fixes: d39e23f26e1e ("event/dlb2: fix advertized capabilities")
> Fixes: e7c9971a857a ("event/dlb2: add probe-time hardware init")
> Cc: stable@dpdk.org
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>

Waiting for Ack/Review from @Abdullah Sevincer   to merge.


> ---
>  drivers/event/dlb2/dlb2.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c
> index e645f7595a..050ace0904 100644
> --- a/drivers/event/dlb2/dlb2.c
> +++ b/drivers/event/dlb2/dlb2.c
> @@ -72,6 +72,7 @@ static struct rte_event_dev_info evdev_dlb2_default_info = {
>         .max_single_link_event_port_queue_pairs =
>                 DLB2_MAX_NUM_DIR_PORTS(DLB2_HW_V2),
>         .event_dev_cap = (RTE_EVENT_DEV_CAP_EVENT_QOS |
> +                         RTE_EVENT_DEV_CAP_NONSEQ_MODE |
>                           RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED |
>                           RTE_EVENT_DEV_CAP_QUEUE_ALL_TYPES |
>                           RTE_EVENT_DEV_CAP_BURST_MODE |
> --
> 2.39.2
>

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

* RE: [PATCH] event/dlb2: fix missing queue ordering capability flag
  2023-11-09 17:44 [PATCH] event/dlb2: fix missing queue ordering capability flag Bruce Richardson
  2023-11-10  7:25 ` Jerin Jacob
@ 2023-11-12 20:35 ` Sevincer, Abdullah
  2023-11-13  5:36   ` Jerin Jacob
  1 sibling, 1 reply; 4+ messages in thread
From: Sevincer, Abdullah @ 2023-11-12 20:35 UTC (permalink / raw)
  To: Richardson, Bruce, dev; +Cc: stable

Acked-by: Abdullah Sevincer <abdullah.sevincer@intel.com>

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

* Re: [PATCH] event/dlb2: fix missing queue ordering capability flag
  2023-11-12 20:35 ` Sevincer, Abdullah
@ 2023-11-13  5:36   ` Jerin Jacob
  0 siblings, 0 replies; 4+ messages in thread
From: Jerin Jacob @ 2023-11-13  5:36 UTC (permalink / raw)
  To: Sevincer, Abdullah; +Cc: Richardson, Bruce, dev, stable

On Mon, Nov 13, 2023 at 2:05 AM Sevincer, Abdullah
<abdullah.sevincer@intel.com> wrote:
>
> Acked-by: Abdullah Sevincer <abdullah.sevincer@intel.com>

Applied to dpdk-next-eventdev/for-main. Thanks

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

end of thread, other threads:[~2023-11-13  5:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-09 17:44 [PATCH] event/dlb2: fix missing queue ordering capability flag Bruce Richardson
2023-11-10  7:25 ` Jerin Jacob
2023-11-12 20:35 ` Sevincer, Abdullah
2023-11-13  5:36   ` Jerin Jacob

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).