f96a8ebb27
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> |
||
---|---|---|
.. | ||
cocci | ||
build-dict.sh | ||
build-tags.sh | ||
check-abi-version.sh | ||
check-abi.sh | ||
check-dup-includes.sh | ||
check-forbidden-tokens.awk | ||
check-git-log.sh | ||
check-maintainers.sh | ||
check-spdx-tag.sh | ||
check-symbol-change.sh | ||
check-symbol-maps.sh | ||
checkpatches.sh | ||
cocci.sh | ||
gen-abi.sh | ||
get-maintainer.sh | ||
git-log-fixes.sh | ||
libabigail.abignore | ||
load-devel-config | ||
test-meson-builds.sh | ||
test-null.sh | ||
update_version_map_abi.py | ||
update-abi.sh | ||
words-case.txt |