numam-dpdk/devtools
Akhil Goyal f96a8ebb27 eventdev: introduce crypto adapter enqueue API
In case an event from a previous stage is required to be forwarded
to a crypto adapter and PMD supports internal event port in crypto
adapter, exposed via capability
RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_FWD, we do not have
a way to check in the API rte_event_enqueue_burst(), whether it is
for crypto adapter or for eth tx adapter.

Hence we need a new API similar to rte_event_eth_tx_adapter_enqueue(),
which can send to a crypto adapter.

Note that RTE_EVENT_TYPE_* cannot be used to make that decision,
as it is meant for event source and not event destination.
And event port designated for crypto adapter is designed to be used
for OP_NEW mode.

Hence, in order to support an event PMD which has an internal event port
in crypto adapter (RTE_EVENT_CRYPTO_ADAPTER_OP_FORWARD mode), exposed
via capability RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_FWD,
application should use rte_event_crypto_adapter_enqueue() API to enqueue
events.

When internal port is not available(RTE_EVENT_CRYPTO_ADAPTER_OP_NEW mode),
application can use API rte_event_enqueue_burst() as it was doing earlier,
i.e. retrieve event port used by crypto adapter and bind its event queues
to that port and enqueue events using the API rte_event_enqueue_burst().

Signed-off-by: Akhil Goyal <gakhil@marvell.com>
Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
2021-04-17 18:49:52 +02:00
..
cocci devtools/cocci: create safer version of strlcpy script 2019-04-04 22:45:33 +02:00
build-dict.sh devtools: add checkpatch spelling dictionary builder 2020-07-31 01:09:26 +02:00
build-tags.sh config: remove default configs used with make 2020-09-08 00:11:30 +02:00
check-abi-version.sh devtools: handle internal version in symbols check 2020-05-19 19:12:18 +02:00
check-abi.sh devtools: skip removed DLB driver in ABI check 2021-04-13 11:25:56 +02:00
check-dup-includes.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
check-forbidden-tokens.awk devtools: fix directory filter in forbidden token check 2020-11-13 09:35:04 +01:00
check-git-log.sh switch default git branch name to main 2020-08-12 15:32:07 +02:00
check-maintainers.sh devtools: rename variables in maintainers file parsing 2020-08-07 13:02:11 +02:00
check-spdx-tag.sh build: remove Windows export symbol list 2021-04-08 17:57:33 +02:00
check-symbol-change.sh devtools: ignore internal ABI check 2020-04-25 17:01:01 +02:00
check-symbol-maps.sh build: remove Windows export symbol list 2021-04-08 17:57:33 +02:00
checkpatches.sh switch default git branch name to main 2020-08-12 15:32:07 +02:00
cocci.sh fix Mellanox copyright and SPDX tag 2020-02-13 18:47:28 +01:00
gen-abi.sh devtools: adjust verbosity of ABI check 2021-01-13 00:04:33 +01:00
get-maintainer.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
git-log-fixes.sh build: remove makefiles 2020-09-08 00:09:50 +02:00
libabigail.abignore eventdev: introduce crypto adapter enqueue API 2021-04-17 18:49:52 +02:00
load-devel-config devtools: add SPDX license tag to config loader 2020-02-22 15:17:03 +01:00
test-meson-builds.sh build: alias default build as generic 2021-04-09 19:11:26 +02:00
test-null.sh eal: replace blacklist/whitelist options 2020-11-16 00:11:22 +01:00
update_version_map_abi.py build: remove Windows export symbol list 2021-04-08 17:57:33 +02:00
update-abi.sh build: replace use of old build macros 2020-10-19 22:15:44 +02:00
words-case.txt devtools: add acronyms in dictionary for commit checks 2021-03-12 07:00:11 +01:00