[v1 02/12] net/enetc: Add RX and TX queue APIs for ENETC4 PMD
Stephen Hemminger
stephen at networkplumber.org
Wed Oct 15 23:50:21 CEST 2025
On Thu, 9 Oct 2025 16:46:23 +0530
vanshika.shukla at nxp.com wrote:
> From: Apeksha Gupta <apeksha.gupta at nxp.com>
>
> Introduces queue setup, release, start, and stop
> APIs for ENETC4 RX and TX queues, enabling:
>
> - Queue configuration and initialization
> - Queue resource management (setup, release)
> - Queue operation control (start, stop)
>
> Signed-off-by: Apeksha Gupta <apeksha.gupta at nxp.com>
> Signed-off-by: Gagandeep Singh <g.singh at nxp.com>
> ---
It doesn't look like the driver is doing deferred start correctly.
Expect some logic like this from ixgbe to be done from dev_start
handler. There is nothing telling hardware what queues to enable.
for (i = 0; i < dev->data->nb_tx_queues; i++) {
txq = dev->data->tx_queues[i];
if (!txq->tx_deferred_start) {
ret = ixgbe_dev_tx_queue_start(dev, i);
if (ret < 0)
return ret;
}
}
for (i = 0; i < dev->data->nb_rx_queues; i++) {
rxq = dev->data->rx_queues[i];
if (!rxq->rx_deferred_start) {
ret = ixgbe_dev_rx_queue_start(dev, i);
if (ret < 0)
return ret;
}
}
More information about the dev
mailing list