eventdev: fix case to initiate crypto adapter service
authorShijith Thotton <sthotton@marvell.com>
Mon, 12 Apr 2021 08:53:39 +0000 (14:23 +0530)
committerJerin Jacob <jerinj@marvell.com>
Sat, 17 Apr 2021 17:22:41 +0000 (19:22 +0200)
commitd69123d26620e729ea23a0e11166c3f5859bf6ce
tree91b196ea7ac532817054e886226556544ba1f00e
parentb8ebe14659aa655844d9d9f25c1b152d40e9394d
eventdev: fix case to initiate crypto adapter service

Initiate software crypto adapter service, only if hardware capabilities
are not reported. In OP_FORWARD mode, software service is not required
to enqueue events if OP_FORWARD capability is supported by the PMD.

Fixes: 7901eac3409a ("eventdev: add crypto adapter implementation")
Cc: stable@dpdk.org
Signed-off-by: Shijith Thotton <sthotton@marvell.com>
Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
lib/librte_eventdev/rte_event_crypto_adapter.c