On Fri, 4 Sep 2020 11:18:55 +0100 Liang Ma <liang.j...@intel.com> wrote:
> + * > + * @return > + * Architecture-dependent return value. > + */ > +static inline int rte_power_monitor(const volatile void *p, > + const uint64_t expected_value, const uint64_t value_mask, > + const uint32_t state, const uint64_t tsc_timestamp); Since this is generic code, and you are defining the function. You should have it return -ENOTSUPPORTED or -EINVAL.