[PATCH v3-S3 06/10] drivers: inherit dpaa2 rxq config for event queue
David Marchand
david.marchand at redhat.com
Thu Sep 17 08:52:15 CEST 2026
On Tue, 15 Sept 2026 at 14:03, Prashant Gupta <prashant.gupta_3 at nxp.com> wrote:
>
> From: Jun Yang <jun.yang at nxp.com>
>
> The configuration parameter in event queue attachment should use
> flc and cgid configured in rxq setup.
>
> Signed-off-by: Jun Yang <jun.yang at nxp.com>
> ---
> drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 +-
> drivers/net/dpaa2/dpaa2_ethdev.c | 3 ++-
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
> index 12216750a8..f87bf51d09 100644
> --- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
> +++ b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
> @@ -1,7 +1,7 @@
> /* SPDX-License-Identifier: BSD-3-Clause
> *
> * Copyright (c) 2016 Freescale Semiconductor, Inc. All rights reserved.
> - * Copyright 2016-2024 NXP
> + * Copyright 2016-2025 NXP
> *
> */
>
> diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
> index 8cd482b538..77a93ecf91 100644
> --- a/drivers/net/dpaa2/dpaa2_ethdev.c
> +++ b/drivers/net/dpaa2/dpaa2_ethdev.c
> @@ -2817,11 +2817,12 @@ int dpaa2_eth_eventq_attach(const struct rte_eth_dev *dev,
> struct dpaa2_dev_priv *eth_priv = dev->data->dev_private;
> struct fsl_mc_io *dpni = (struct fsl_mc_io *)dev->process_private;
> struct dpaa2_queue *dpaa2_ethq = eth_priv->rx_vq[eth_rx_queue_id];
> - uint8_t flow_id = dpaa2_ethq->flow_id;
> + uint8_t flow_id;
> struct dpni_queue *cfg;
> uint8_t options, priority;
> int ret;
>
> + flow_id = dpaa2_ethq->flow_id;
> cfg = dpaa2_ethq->cfg;
>
> if (queue_conf->ev.sched_type == RTE_SCHED_TYPE_PARALLEL)
This patch looks like a noop.
--
David Marchand
More information about the dev
mailing list