diff options
author | Giovanni Cabiddu <giovanni.cabiddu@intel.com> | 2021-09-28 12:44:34 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-10-08 20:02:42 +0800 |
commit | c3878a786be09d3f7df17936c922be430cdd4e8e (patch) | |
tree | 1d9f0488df16d65aff890eede6791fe1151db8b0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b79c7532dc337c87365fda62914eaeb0e038160d (diff) |
crypto: qat - use hweight for bit counting
Replace homegrown bit counting logic in adf_gen2_get_num_accels() and
adf_gen2_get_num_aes() with the functions hweight16() and hweight32(),
respectively.
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Marco Chiappero <marco.chiappero@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions