Re: [dpdk-dev] [PATCH v7 4/5] power: modify return of queue_stopped
From: David Hunt <hidden>
Date: 2021-10-22 11:54:37
On 21/10/2021 5:48 PM, Ferruh Yigit wrote:
On 10/18/2021 3:16 PM, Miao Li wrote:quoted
Since some vdevs like virtio and vhost do not support rxq_info_get and queue state inquiry, the error return value -ENOTSUP need to be ignored when queue_stopped cannot get rx queue information and rx queue state. This patch changes the return value of queue_stopped when rte_eth_rx_queue_info_get return -ENOTSUP to support vdevs which cannot provide rx queue information and rx queue state enable power management.Don't we want to backport this patch? In case later a patch in the main repo relies on this return type and that needs to be merged to LTS... Also need to clarify if this is a fix or not.quoted
Signed-off-by: Miao Li <redacted> Acked-by: Anatoly Burakov <redacted> Reviewed-by: Chenbo Xia <redacted>power library maintainer ack/review is missing.
Hi Ferruh, Anatoly's Ack is good on this, he's very familiar with this code. Rgds, Dave. --snip--