[PATCH v2 1/3] net/zxdh: optimize queue structure to improve performance

Stephen Hemminger stephen at networkplumber.org
Thu Apr 23 20:57:27 CEST 2026


On Thu, 23 Apr 2026 09:18:16 +0800
Junlong Wang <wang.junlong1 at zte.com.cn> wrote:

> @@ -1537,8 +1516,6 @@ static const struct eth_dev_ops zxdh_eth_dev_ops = {
>  	.dev_infos_get			 = zxdh_dev_infos_get,
>  	.rx_queue_setup			 = zxdh_dev_rx_queue_setup,
>  	.tx_queue_setup			 = zxdh_dev_tx_queue_setup,
> -	.rx_queue_intr_enable	 = zxdh_dev_rx_queue_intr_enable,
> -	.rx_queue_intr_disable	 = zxdh_dev_rx_queue_intr_disable,
>  	.rxq_info_get			 = zxdh_rxq_info_get,
>  	.txq_info_get			 = zxdh_txq_info_get,
>  	.link_update			 = zxdh_dev_link_update,

Dropping rx_queue interrupt support.
Not good, but if you are doing that need a release note and change to features matrix.

In zxdh_init_queue:
> +	if (hdr_mz)
> +		rte_memzone_free(hdr_mz);

Null check here is redundant since rte_memzone_free(NULL)
does the right thing if needed.


More information about the dev mailing list