Thread (11 messages) 11 messages, 4 authors, 2021-07-30

[dpdk-dev] [PATCH] eventdev: remove event port config override in tx adapter

From: Naga Harish K, S V <hidden>
Date: 2021-07-23 08:12:33
Subsystem: library code, the rest · Maintainers: Andrew Morton, Linus Torvalds

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 <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help