crypto/cnxk: use unique cache line per inst
authorAnoob Joseph <anoobj@marvell.com>
Mon, 31 Jan 2022 12:30:28 +0000 (18:00 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Sat, 12 Feb 2022 09:26:38 +0000 (10:26 +0100)
commitaa6db9037e0c620bb4c2862dcdbc65a4770d719e
tree1a8c44cb50c8e40c6e289c974aa1d3d14a551dc7
parent1a8cb9199b4e9165e8f67d3aee5504be5952fea5
crypto/cnxk: use unique cache line per inst

CPT inflight request is used to track a request that is enqueued to
cryptodev. Having more than one inst use the same cacheline can result
in serialization of CPT result memory writes causing perf degradations.
Align inflight request to ROC cache line to ensure only one result would
be written per cache line..

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/crypto/cnxk/cnxk_cryptodev_ops.h