[PATCH v7 4/4] eventdev/timer: change eventdev reconfig logic

Jerin Jacob jerinjacobk at gmail.com
Fri Jan 13 14:51:27 CET 2023


On Thu, Jan 12, 2023 at 10:01 PM Naga Harish K S V
<s.v.naga.harish.k at intel.com> wrote:
>
> When rte_event_timer_adapter_create() is used for creating adapter
> instance, eventdev is reconfigured with additional
> ``rte_event_dev_config::nb_event_ports`` parameter.
>
> This eventdev reconfig logic is enhanced to increment the
> ``rte_event_dev_config::nb_single_link_event_port_queues``
> parameter if the adapter event port config is of type
> ``RTE_EVENT_PORT_CFG_SINGLE_LINK``.
>
> With this change the application is no longer need to configure the
> eventdev with ``rte_event_dev_config::nb_single_link_event_port_queues``
> parameter required for timer adapter when the adapter is created
> using above mentioned api.
>
> Signed-off-by: Naga Harish K S V <s.v.naga.harish.k at intel.com>
> Acked-by: Abhinandan Gujjar <abhinandan.gujjar at intel.com>
> +* **Updated the eventdev reconfigure logic for service based adapters.**
> +
> +  * This eventdev reconfig logic is enhanced to increment the
> +    ``rte_event_dev_config::nb_single_link_event_port_queues``
> +    parameter if event port config is of type
> +    ``RTE_EVENT_PORT_CFG_SINGLE_LINK``.
> +  * With this change, the application no longer needs to account for the
> +    ``rte_event_dev_config::nb_single_link_event_port_queues`` parameter
> +    required for adapters.
> +  * This change is added for eth_rx, eth_tx, crypto and timer eventdev adapters.

Updated as following and series applied to
dpdk-next-net-eventdev/for-main. Thanks

+* **Updated the eventdev reconfigure logic for service based adapters.**
+
+  * eventdev reconfig logic is enhanced to increment the
+    ``rte_event_dev_config::nb_single_link_event_port_queues`` parameter
+    if event port config is of type ``RTE_EVENT_PORT_CFG_SINGLE_LINK``.
+  * With this change, the application no longer needs to account for the
+    ``rte_event_dev_config::nb_single_link_event_port_queues``
parameter required for
+    eth_rx, eth_tx, crypto and timer eventdev adapters.
+


More information about the dev mailing list