Re: [dpdk-dev] [PATCH v2] ethdev: change queue release callback
From: Thomas Monjalon <hidden>
Date: 2021-09-16 15:51:12
From: Thomas Monjalon <hidden>
Date: 2021-09-16 15:51:12
16/09/2021 17:43, Xueming(Steven) Li:
On Thu, 2021-09-16 at 10:09 +0200, Thomas Monjalon wrote:quoted
15/09/2021 15:02, Xueming Li:quoted
--- a/lib/ethdev/rte_ethdev.c +++ b/lib/ethdev/rte_ethdev.c - RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->rx_queue_release, -ENOTSUP);Why removing this check? It is changing the behaviour.Some PMD implemented a dummy callback, so I think maybe it good to make this callback optional to make PMD clean, how do you think?
I agree but it should be a separate patch.