crypto/octeontx2: reset feature flags during config
authorAnoob Joseph <anoobj@marvell.com>
Fri, 2 Jul 2021 10:36:35 +0000 (16:06 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 7 Jul 2021 19:28:39 +0000 (21:28 +0200)
commitd83fa81738bd87f8826f698e1dfcd92f2bce3dde
treeb34f409f8b5b0ced0ee5bcd06079ae0a20fe4527
parent325ce224ffd16d67d5370c2f28a267aabd6690a9
crypto/octeontx2: reset feature flags during config

Feature flags in dev would be updated during config. On reconfigure, the
field need to be set again to original value.

Signed-off-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