DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] eventdev: remove event port config override in tx adapter
@ 2021-07-23  8:12 Naga Harish K, S V
  2021-07-23 11:27 ` Jayatheerthan, Jay
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Naga Harish K, S V @ 2021-07-23  8:12 UTC (permalink / raw)
  To: jay.jayatheerthan, jerinjacobk; +Cc: dev

The event port config set by application is modified in
default configuration callback function. This patch removes
this override and use application configured event port
config value.

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

diff --git a/lib/eventdev/rte_event_eth_tx_adapter.c b/lib/eventdev/rte_event_eth_tx_adapter.c
index db260bfb68..18c0359db7 100644
--- a/lib/eventdev/rte_event_eth_tx_adapter.c
+++ b/lib/eventdev/rte_event_eth_tx_adapter.c
@@ -286,7 +286,6 @@ txa_service_conf_cb(uint8_t __rte_unused id, uint8_t dev_id,
 		return ret;
 	}
 
-	pc->event_port_cfg = 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] 12+ messages in thread
* [dpdk-dev] [PATCH v2] eventdev: fix event port setup in tx adapter
@ 2021-07-24 13:54 Naga Harish K, S V
  0 siblings, 0 replies; 12+ messages in thread
From: Naga Harish K, S V @ 2021-07-24 13:54 UTC (permalink / raw)
  To: jay.jayatheerthan, jerinjacobk; +Cc: dev

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: ("eventdev: fix event port config override in tx adapter")

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

diff --git a/lib/eventdev/rte_event_eth_tx_adapter.c b/lib/eventdev/rte_event_eth_tx_adapter.c
index db260bfb68..18c0359db7 100644
--- a/lib/eventdev/rte_event_eth_tx_adapter.c
+++ b/lib/eventdev/rte_event_eth_tx_adapter.c
@@ -286,7 +286,6 @@ txa_service_conf_cb(uint8_t __rte_unused id, uint8_t dev_id,
 		return ret;
 	}
 
-	pc->event_port_cfg = 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] 12+ messages in thread

end of thread, other threads:[~2021-07-30 11:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-23  8:12 [dpdk-dev] [PATCH] eventdev: remove event port config override in tx adapter Naga Harish K, S V
2021-07-23 11:27 ` Jayatheerthan, Jay
2021-07-23 11:36 ` Jerin Jacob
2021-07-24 14:10 ` [dpdk-dev] [PATCH v2] eventdev: fix event port setup " Naga Harish K, S V
2021-07-28  6:44   ` Jayatheerthan, Jay
2021-07-28  9:30     ` Jerin Jacob
2021-07-28 10:57       ` Jayatheerthan, Jay
2021-07-30 10:24         ` Jerin Jacob
2021-07-30 10:31           ` Thomas Monjalon
2021-07-30 10:36             ` Jerin Jacob
2021-07-30 10:59         ` Jerin Jacob
2021-07-24 13:54 Naga Harish K, S V

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