[PATCH v3] eventdev/eth_rx: add new adapter create API

Jerin Jacob jerinjacobk at gmail.com
Thu Aug 17 12:42:59 CEST 2023


On Thu, Aug 17, 2023 at 4:03 PM Naga Harish K S V
<s.v.naga.harish.k at intel.com> wrote:
>
> Add new API "rte_event_eth_rx_adapter_create_ext_with_params()" for
> creating Rx adapter instance. This API is similar to
> rte_event_eth_rx_adapter_create_ext() with an additional input
> argument for adapter configuration parameters of type
> "struct rte_event_eth_rx_adapter_params".
>
> Signed-off-by: Naga Harish K S V <s.v.naga.harish.k at intel.com>
> ---
> v2:
>  * Fix warning
> v3:
>  * remove __rte_cold hint as per review comments

> +int __rte_cold

Missed to remove here.

> +rte_event_eth_rx_adapter_create_ext_with_params(uint8_t id, uint8_t dev_id,
> +                       rte_event_eth_rx_adapter_conf_cb conf_cb,
> +                       void *conf_arg,
> +                       struct rte_event_eth_rx_adapter_params *rxa_params);


More information about the dev mailing list