eal: fix power intrinsics API description
authorAnatoly Burakov <anatoly.burakov@intel.com>
Mon, 2 Nov 2020 12:57:36 +0000 (12:57 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 3 Nov 2020 21:45:24 +0000 (22:45 +0100)
commitfc61d9a89b610d70797ae3f23128091f09ec917f
treeeb0c5876cb29c7f2282e98380abee537943fc937
parentc0d002aed98d6d1d38d6bb318a5bd2ed5cdc01b1
eal: fix power intrinsics API description

Currently, the intrinsics documentation refers to `rte_cpu_get_features`
as a check for whether these intrinsics are supported at runtime. This
is incorrect, because actually the user should use the
`rte_cpu_get_intrinsics_support` API to do said check. Fix the typo.

Fixes: 128021421256 ("eal: add intrinsics support check infrastructure")

Reported-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Liang Ma <liang.j.ma@intel.com>
lib/librte_eal/include/generic/rte_power_intrinsics.h