eventdev: fix event port setup in Tx adapter
authorNaga Harish K S V <s.v.naga.harish.k@intel.com>
Sat, 24 Jul 2021 14:10:36 +0000 (09:10 -0500)
committerJerin Jacob <jerinj@marvell.com>
Fri, 30 Jul 2021 10:55:19 +0000 (12:55 +0200)
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")
Cc: stable@dpdk.org
Signed-off-by: Naga Harish K S V <s.v.naga.harish.k@intel.com>
lib/eventdev/rte_event_eth_tx_adapter.c

index db260bf..18c0359 100644 (file)
@@ -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",