RE: [PATCH v2 1/2] power: introduce PM QoS API on CPU wide

2024-06-18 Thread Morten Brørup
> From: lihuisong (C) [mailto:lihuis...@huawei.com] > > Hi Morten, > > Thanks for your review. > > > 在 2024/6/14 16:04, Morten Brørup 写道: > >> +#define PM_QOS_SYSFILE_RESUME_LATENCY_US \ > >> + "/sys/devices/system/cpu/cpu%u/power/pm_qos_resume_latency_us" > > Is it OK to access this path usi

Re: [PATCH v2 1/2] power: introduce PM QoS API on CPU wide

2024-06-18 Thread lihuisong (C)
Hi Morten, Thanks for your review. 在 2024/6/14 16:04, Morten Brørup 写道: +#define PM_QOS_SYSFILE_RESUME_LATENCY_US \ + "/sys/devices/system/cpu/cpu%u/power/pm_qos_resume_latency_us" Is it OK to access this path using the lcore_id as CPU parameter to open_core_sysfs_file(), or must

RE: [PATCH v2 1/2] power: introduce PM QoS API on CPU wide

2024-06-14 Thread Morten Brørup
> +#define PM_QOS_SYSFILE_RESUME_LATENCY_US \ > + "/sys/devices/system/cpu/cpu%u/power/pm_qos_resume_latency_us" Is it OK to access this path using the lcore_id as CPU parameter to open_core_sysfs_file(), or must it be mapped through rte_lcore_to_cpu_id(lcore_id) first? @David, do you k