crypto/cnxk: reset feature flags on reconfigure
authorAnoob Joseph <anoobj@marvell.com>
Thu, 8 Jul 2021 09:44:37 +0000 (15:14 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 20 Jul 2021 08:32:05 +0000 (10:32 +0200)
commit760eedf38d15aec0200f8e58fcba95b3ade30166
tree1103df118ef1edb03c88eeca0e616c1ec1c67bf0
parentffb81dce5abee93eef9326fa502692a58edaa462
crypto/cnxk: reset feature flags on reconfigure

Feature flag 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>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/crypto/cnxk/cn10k_cryptodev.c
drivers/crypto/cnxk/cn9k_cryptodev.c
drivers/crypto/cnxk/cnxk_cryptodev.c
drivers/crypto/cnxk/cnxk_cryptodev.h
drivers/crypto/cnxk/cnxk_cryptodev_ops.c