[dpdk-dev,v1,21/24] net/ena: update numa node
Checks
Commit Message
From: Rafal Kozik <rk@semihalf.com>
During initializing tx queues update Non-Uniform Memory Access
configuration in NIC firmware.
Signed-off-by: Rafal Kozik <rk@semihalf.com>
Acked-by: Michal Krawczyk <mk@semihalf.com>
---
drivers/net/ena/ena_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
--
2.14.1
@@ -1188,6 +1188,8 @@ static int ena_tx_queue_setup(struct rte_eth_dev *dev,
goto err_destroy_io_queue;
}
+ ena_com_update_numa_node(txq->ena_com_io_cq, ctx.numa_node);
+
txq->port_id = dev->data->port_id;
txq->next_to_clean = 0;
txq->next_to_use = 0;