On Tue, Oct 1, 2024 at 1:04 PM Hemant Agrawal <hemant.agra...@nxp.com> wrote: > diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c > index 90b34e42f2..bba305cfb1 100644 > --- a/drivers/net/dpaa/dpaa_ethdev.c > +++ b/drivers/net/dpaa/dpaa_ethdev.c
[snip] > @@ -2079,6 +2129,14 @@ dpaa_dev_init(struct rte_eth_dev *eth_dev) > goto free_rx; > } > > + dpaa_intf->tx_conf_queues = rte_zmalloc(NULL, sizeof(struct qman_fq) * > + MAX_DPAA_CORES, MAX_CACHELINE); > + if (!dpaa_intf->tx_conf_queues) { > + DPAA_PMD_ERR("Failed to alloc mem for TX conf queues\n"); No need for \n. Please send a fix against next-net. > + ret = -ENOMEM; > + goto free_rx; > + } > + -- David Marchand