[RFC 13/18] net/hinic3: add dev ops
Stephen Hemminger
stephen at networkplumber.org
Thu Jun 26 23:32:56 CEST 2025
On Fri, 18 Apr 2025 17:05:59 +0800
Feifei Wang <wff_light at vip.163.com> wrote:
> +static void
> +hinic3_tx_queue_release(struct rte_eth_dev *dev, uint16_t queue_id)
> +{
> + if (dev == NULL || dev->data == NULL || dev->data->tx_queues == NULL) {
> + PMD_DRV_LOG(WARNING, "tx queue is null when release");
> + return;
> + }
Looks like the calling function eth_dev_txq_release in ethdev already checks this or
would error out.
More information about the dev
mailing list