Re: [dpdk-dev] [PATCH v13 02/11] eal: avoid invalid API usage in power intrinsics

2021-01-12 Thread Ananyev, Konstantin
> Currently, the API documentation mandates that if the user wants to use > the power management intrinsics, they need to call the > `rte_cpu_get_intrinsics_support` API and check support for specific > intrinsics. > > However, if the user does not do that, it is possible to get illegal > instruct

Re: [dpdk-dev] [PATCH v13 02/11] eal: avoid invalid API usage in power intrinsics

2021-01-11 Thread Burakov, Anatoly
On 08-Jan-21 7:58 PM, Stephen Hemminger wrote: On Fri, 8 Jan 2021 17:42:05 + Anatoly Burakov wrote: +static uint8_t wait_supported; Since it is being used as a flag, bool is more common usage. Will fix in v14, thanks! -- Thanks, Anatoly

Re: [dpdk-dev] [PATCH v13 02/11] eal: avoid invalid API usage in power intrinsics

2021-01-08 Thread Stephen Hemminger
On Fri, 8 Jan 2021 17:42:05 + Anatoly Burakov wrote: > +static uint8_t wait_supported; Since it is being used as a flag, bool is more common usage.

[dpdk-dev] [PATCH v13 02/11] eal: avoid invalid API usage in power intrinsics

2021-01-08 Thread Anatoly Burakov
Currently, the API documentation mandates that if the user wants to use the power management intrinsics, they need to call the `rte_cpu_get_intrinsics_support` API and check support for specific intrinsics. However, if the user does not do that, it is possible to get illegal instruction error beca