net/ena: update NUMA node

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>
This commit is contained in:
Rafal Kozik 2018-06-07 11:43:17 +02:00 committed by Ferruh Yigit
parent 241da076b1
commit ba82e010df

View File

@ -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;