From: Rafal Kozik Date: Thu, 7 Jun 2018 09:43:17 +0000 (+0200) Subject: net/ena: update NUMA node X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ba82e010df880467418b9bffe20275a394af414e;p=dpdk.git net/ena: update NUMA node During initializing Tx queues update Non-Uniform Memory Access configuration in NIC firmware. Signed-off-by: Rafal Kozik Acked-by: Michal Krawczyk --- diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c index c051f23a38..5c3b6494f9 100644 --- a/drivers/net/ena/ena_ethdev.c +++ b/drivers/net/ena/ena_ethdev.c @@ -1175,6 +1175,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;