cryptodev: add device probing finish function
authorAkhil Goyal <gakhil@marvell.com>
Wed, 20 Oct 2021 11:27:51 +0000 (16:57 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 20 Oct 2021 13:33:16 +0000 (15:33 +0200)
commit33cd3fd52ffc20ed3247319384611f6bd0ef5ea7
tree5a47afcac33941a2c576c2dd27c84e0670a98b69
parentbeb4c305b3793fc80d9a1880eb352ade39c2a4b9
cryptodev: add device probing finish function

Added a rte_cryptodev_pmd_probing_finish API which
need to be called by the PMD after the device is initialized
completely. This will set the fast path function pointers
in the flat array for secondary process. For primary process,
these are set in rte_cryptodev_start.

Signed-off-by: Akhil Goyal <gakhil@marvell.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
lib/cryptodev/cryptodev_pmd.c
lib/cryptodev/cryptodev_pmd.h
lib/cryptodev/version.map