DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jerin Jacob <jerinjacobk@gmail.com>
To: Naga Harish K S V <s.v.naga.harish.k@intel.com>
Cc: dev@dpdk.org, erik.g.carrillo@intel.com,
	abhinandan.gujjar@intel.com,  timothy.mcdaniel@intel.com,
	pbhagavatula@marvell.com, sthotton@marvell.com,
	 hemant.agrawal@nxp.com, sachin.saxena@oss.nxp.com,
	harry.van.haaren@intel.com,  mattias.ronnblom@ericsson.com,
	liangma@liangbit.com, peter.mccarthy@intel.com,
	 jay.jayatheerthan@intel.com
Subject: Re: [PATCH v5] eventdev/eth_rx: add new adapter create API
Date: Mon, 21 Aug 2023 15:22:48 +0530	[thread overview]
Message-ID: <CALBAE1PXTRMTTxquEHmLfkqGsBEbh9rO8a_-J8eTDH_7JgdVYA@mail.gmail.com> (raw)
In-Reply-To: <20230818093736.454349-1-s.v.naga.harish.k@intel.com>

On Fri, Aug 18, 2023 at 3:07 PM Naga Harish K S V
<s.v.naga.harish.k@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@intel.com>
> ---
> diff --git a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst b/doc/guides/prog_guide/event_ethernet_rx_adapter.rst
> index 7c5e73b9fd..2e68cca798 100644
> --- a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst
> +++ b/doc/guides/prog_guide/event_ethernet_rx_adapter.rst
> @@ -71,6 +71,9 @@ set to true. The function is passed the event device to be associated with
>  the adapter and port configuration for the adapter to setup an event port
>  if the adapter needs to use a service function.
>
> +If the application desires to control both the event port allocation and event
> +buffer size, ``rte_event_eth_rx_adapter_create_ext_with_params()`` can be used.
> +
>  Event device configuration for service based adapter
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> diff --git a/doc/guides/rel_notes/release_23_11.rst b/doc/guides/rel_notes/release_23_11.rst
> index 4411bb32c1..0f4e677ee9 100644
> --- a/doc/guides/rel_notes/release_23_11.rst
> +++ b/doc/guides/rel_notes/release_23_11.rst
> @@ -72,6 +72,10 @@ New Features
>       Also, make sure to start the actual text at the margin.
>       =======================================================
>
> +* **Added new Ethernet Rx Adapter create API.**
> +
> +  * Added new API ``rte_event_eth_rx_adapter_create_ext_with_params()``
> +    for creating Rx adapter instance

Please add

for application desires to control both the event port allocation and event
buffer size,

>
>  Removed Items
>  -------------
> diff --git a/lib/eventdev/rte_event_eth_rx_adapter.c b/lib/eventdev/rte_event_eth_rx_adapter.c
> index f7f93ccdfd..1574c89678 100644
> --- a/lib/eventdev/rte_event_eth_rx_adapter.c
> +++ b/lib/eventdev/rte_event_eth_rx_adapter.c
> @@ -2485,6 +2485,39 @@ rxa_create(uint8_t id, uint8_t dev_id,
>         return 0;
>  }
>
> +static int __rte_cold

Another instance of __rte_cold which is not removed.

Please pay some attention when sending the new patch versions.

> +rxa_config_params_validate(struct rte_event_eth_rx_adapter_params *rxa_params,
> +                          struct rte_event_eth_rx_adapter_params *temp_params)

  reply	other threads:[~2023-08-21  9:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-17  5:37 [PATCH] " Naga Harish K S V
2023-08-17  6:03 ` [PATCH v2] " Naga Harish K S V
2023-08-17  8:57   ` Jerin Jacob
2023-08-17  9:36     ` Naga Harish K, S V
2023-08-17  9:48       ` Jerin Jacob
2023-08-17 10:36         ` Naga Harish K, S V
2023-08-17 10:33   ` [PATCH v3] " Naga Harish K S V
2023-08-17 10:42     ` Jerin Jacob
2023-08-17 14:52       ` Naga Harish K, S V
2023-08-17 14:50     ` [PATCH v4] " Naga Harish K S V
2023-08-17 15:19       ` Jerin Jacob
2023-08-18  9:39         ` Naga Harish K, S V
2023-08-18  9:37       ` [PATCH v5] " Naga Harish K S V
2023-08-21  9:52         ` Jerin Jacob [this message]
2023-08-21 15:28         ` [PATCH v6] " Naga Harish K S V
2023-08-21 15:36           ` Jerin Jacob
2023-08-22  1:05             ` Naga Harish K, S V
2023-08-21 15:44           ` [PATCH v7] " Naga Harish K S V
2023-08-22  4:55             ` Jerin Jacob

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALBAE1PXTRMTTxquEHmLfkqGsBEbh9rO8a_-J8eTDH_7JgdVYA@mail.gmail.com \
    --to=jerinjacobk@gmail.com \
    --cc=abhinandan.gujjar@intel.com \
    --cc=dev@dpdk.org \
    --cc=erik.g.carrillo@intel.com \
    --cc=harry.van.haaren@intel.com \
    --cc=hemant.agrawal@nxp.com \
    --cc=jay.jayatheerthan@intel.com \
    --cc=liangma@liangbit.com \
    --cc=mattias.ronnblom@ericsson.com \
    --cc=pbhagavatula@marvell.com \
    --cc=peter.mccarthy@intel.com \
    --cc=s.v.naga.harish.k@intel.com \
    --cc=sachin.saxena@oss.nxp.com \
    --cc=sthotton@marvell.com \
    --cc=timothy.mcdaniel@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).