crypto/octeontx2: fix multi-process
authorAnkur Dwivedi <adwivedi@marvell.com>
Thu, 22 Oct 2020 07:50:00 +0000 (13:20 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Mon, 2 Nov 2020 08:24:40 +0000 (09:24 +0100)
commit9fd11c1583c9b3249f49755b3216a79698e94700
tree9c4c06facd94d61fb9dbc6ce59ee9cd42a68c63c
parent95ddd8ffc44ef5be5be5338f5ea3bd3f2f172d07
crypto/octeontx2: fix multi-process

During crypto device probe few functions should be called only
for the primary process. This patch fixes this issue.

Fixes: 818d138bcce9 ("crypto/octeontx2: add init sequence in probe")
Cc: stable@dpdk.org
Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
Reviewed-by: Anoob Joseph <anoobj@marvell.com>
drivers/crypto/octeontx2/otx2_cryptodev.c
drivers/crypto/octeontx2/otx2_cryptodev.h
drivers/crypto/octeontx2/otx2_cryptodev_ops.c