patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH 19.11] eventdev: fix event port setup in tx adapter
@ 2021-08-11 11:07 Naga Harish K S V
  2021-08-16  8:51 ` Christian Ehrhardt
  0 siblings, 1 reply; 2+ messages in thread
From: Naga Harish K S V @ 2021-08-11 11:07 UTC (permalink / raw)
  To: jay.jayatheerthan, jerinjacobk; +Cc: stable

[ upstream commit 6922655cad74f1f74917567181b8aa55006300de ]

The event port config set by application in
rte_event_eth_tx_adapter_create API is modified in
default configuration callback function. This patch removes
this hardcode to use application provided event port
config value.

Fixes: a3bbf2e09756 ("eventdev: add eth Tx adapter implementation")

Signed-off-by: Naga Harish K S V <s.v.naga.harish.k@intel.com>
---
 lib/librte_eventdev/rte_event_eth_tx_adapter.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/librte_eventdev/rte_event_eth_tx_adapter.c b/lib/librte_eventdev/rte_event_eth_tx_adapter.c
index 8a1573e75f..88abd45d17 100644
--- a/lib/librte_eventdev/rte_event_eth_tx_adapter.c
+++ b/lib/librte_eventdev/rte_event_eth_tx_adapter.c
@@ -285,7 +285,6 @@ txa_service_conf_cb(uint8_t __rte_unused id, uint8_t dev_id,
 		return ret;
 	}
 
-	pc->disable_implicit_release = 0;
 	ret = rte_event_port_setup(dev_id, port_id, pc);
 	if (ret) {
 		RTE_EDEV_LOG_ERR("failed to setup event port %u\n",
-- 
2.25.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-stable] [PATCH 19.11] eventdev: fix event port setup in tx adapter
  2021-08-11 11:07 [dpdk-stable] [PATCH 19.11] eventdev: fix event port setup in tx adapter Naga Harish K S V
@ 2021-08-16  8:51 ` Christian Ehrhardt
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Ehrhardt @ 2021-08-16  8:51 UTC (permalink / raw)
  To: Naga Harish K S V; +Cc: Jay Jayatheerthan, jerinjacobk, dpdk stable

On Wed, Aug 11, 2021 at 1:07 PM Naga Harish K S V
<s.v.naga.harish.k@intel.com> wrote:
>
> [ upstream commit 6922655cad74f1f74917567181b8aa55006300de ]
>
> The event port config set by application in
> rte_event_eth_tx_adapter_create API is modified in
> default configuration callback function. This patch removes
> this hardcode to use application provided event port
> config value.
>
> Fixes: a3bbf2e09756 ("eventdev: add eth Tx adapter implementation")

Thanks, applied

> Signed-off-by: Naga Harish K S V <s.v.naga.harish.k@intel.com>
> ---
>  lib/librte_eventdev/rte_event_eth_tx_adapter.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/lib/librte_eventdev/rte_event_eth_tx_adapter.c b/lib/librte_eventdev/rte_event_eth_tx_adapter.c
> index 8a1573e75f..88abd45d17 100644
> --- a/lib/librte_eventdev/rte_event_eth_tx_adapter.c
> +++ b/lib/librte_eventdev/rte_event_eth_tx_adapter.c
> @@ -285,7 +285,6 @@ txa_service_conf_cb(uint8_t __rte_unused id, uint8_t dev_id,
>                 return ret;
>         }
>
> -       pc->disable_implicit_release = 0;
>         ret = rte_event_port_setup(dev_id, port_id, pc);
>         if (ret) {
>                 RTE_EDEV_LOG_ERR("failed to setup event port %u\n",
> --
> 2.25.1
>


-- 
Christian Ehrhardt
Staff Engineer, Ubuntu Server
Canonical Ltd

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-16  8:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11 11:07 [dpdk-stable] [PATCH 19.11] eventdev: fix event port setup in tx adapter Naga Harish K S V
2021-08-16  8:51 ` Christian Ehrhardt

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).