[PATCH v7 05/16] bus/dpaa: shutdown DPAA FQ by fq descriptor
Thomas Monjalon
thomas at monjalon.net
Sat Jul 11 08:40:12 CEST 2026
03/07/2026 14:49, Hemant Agrawal:
> From: Jun Yang <jun.yang at nxp.com>
>
> Pass the full FQ descriptor to qman_shutdown_fq() instead of
> just the fqid, so that channel-affine portals can be correctly
> accessed when shutting down push-mode Rx queues.
>
> Signed-off-by: Jun Yang <jun.yang at nxp.com>
> ---
> drivers/bus/dpaa/base/qbman/qman.c | 9 +++++----
> drivers/bus/dpaa/include/fsl_qman.h | 11 ++++++++++-
> 2 files changed, 15 insertions(+), 5 deletions(-)
>
> --- a/drivers/bus/dpaa/base/qbman/qman.c
> +++ b/drivers/bus/dpaa/base/qbman/qman.c
> @@ -2781,18 +2781,19 @@ qm_mc_result_timeout(struct qm_portal *portal,
>
> RTE_EXPORT_INTERNAL_SYMBOL(qman_shutdown_fq)
> int
> -qman_shutdown_fq(u32 fqid)
> +qman_shutdown_fq(struct qman_fq *fq)
You did not change the call:
drivers/net/dpaa/dpaa_ethdev.c:1124:29: error:
passing argument 1 of 'qman_shutdown_fq' makes pointer from integer without a cast [-Wint-conversion]
1124 | qman_shutdown_fq(rxq->fqid);
More information about the dev
mailing list