numam-dpdk/lib/power
Miao Li c6e305141a power: support missing Rx queue info
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.

Fixes: 209fd58545 ("power: make ethdev power management thread unsafe")
Cc: stable@dpdk.org

Signed-off-by: Miao Li <miao.li@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
2021-10-29 12:32:29 +02:00
..
guest_channel.c
guest_channel.h
meson.build
power_acpi_cpufreq.c
power_acpi_cpufreq.h
power_common.c
power_common.h
power_cppc_cpufreq.c
power_cppc_cpufreq.h
power_kvm_vm.c
power_kvm_vm.h
power_pstate_cpufreq.c
power_pstate_cpufreq.h
rte_power_empty_poll.c
rte_power_empty_poll.h
rte_power_guest_channel.h
rte_power_pmd_mgmt.c
rte_power_pmd_mgmt.h
rte_power.c
rte_power.h
version.map