]> git.droids-corp.org - dpdk.git/commit
crypto/cnxk: use atomics to access CPT res
authorAnoob Joseph <anoobj@marvell.com>
Fri, 17 Dec 2021 09:20:02 +0000 (14:50 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 21 Jan 2022 08:40:01 +0000 (09:40 +0100)
commit7112b6730c3752391f62e327aa01b30800922b23
treef67c4ad665b9fc527bbcc4f378814fb3f0ce5c82
parentec6ca0536e912d465a47d28ab90994d9ca576234
crypto/cnxk: use atomics to access CPT res

The memory would be updated by hardware. Use atomics to read the same.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/common/cnxk/hw/cpt.h
drivers/crypto/cnxk/cn10k_cryptodev_ops.c
drivers/crypto/cnxk/cn9k_cryptodev_ops.c