[PATCH] event/dlb2: fix advertized capabilities
Jerin Jacob
jerinjacobk at gmail.com
Thu Jun 9 19:05:56 CEST 2022
On Mon, Jun 6, 2022 at 9:31 PM Timothy McDaniel
<timothy.mcdaniel at intel.com> wrote:
>
Be more descriptive,
> 1) Remove RTE_EVENT_DEV_CAP_QUEUE_QOS. DLB/DLB2 do not support
> queue priority
> 2) Add RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT
> 3) Add RTE_EVENT_DEV_CAP_RUNTIME_PORT_LINK
file doc/guides/eventdevs/features/dlb2.ini is not updated. It is out of sync.
>
> Fixes: e7c9971a857a ("event/dlb2: add probe-time hardware init")
> Cc: stable at dpdk.org
>
> Signed-off-by: Timothy McDaniel <timothy.mcdaniel at intel.com>
> ---
> drivers/event/dlb2/dlb2.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c
> index 36f07d0061..5c30d5ce35 100644
> --- a/drivers/event/dlb2/dlb2.c
> +++ b/drivers/event/dlb2/dlb2.c
> @@ -61,11 +61,12 @@ static struct rte_event_dev_info evdev_dlb2_default_info = {
> .max_num_events = DLB2_MAX_NUM_LDB_CREDITS,
> .max_single_link_event_port_queue_pairs =
> DLB2_MAX_NUM_DIR_PORTS(DLB2_HW_V2),
> - .event_dev_cap = (RTE_EVENT_DEV_CAP_QUEUE_QOS |
> - RTE_EVENT_DEV_CAP_EVENT_QOS |
> + .event_dev_cap = (RTE_EVENT_DEV_CAP_EVENT_QOS |
> RTE_EVENT_DEV_CAP_BURST_MODE |
> RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED |
> RTE_EVENT_DEV_CAP_IMPLICIT_RELEASE_DISABLE |
> + RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT |
> + RTE_EVENT_DEV_CAP_RUNTIME_PORT_LINK |
> RTE_EVENT_DEV_CAP_QUEUE_ALL_TYPES |
> RTE_EVENT_DEV_CAP_MAINTENANCE_FREE),
> };
> --
> 2.25.1
>
More information about the stable
mailing list