net/ena: update NUMA node
authorRafal Kozik <rk@semihalf.com>
Thu, 7 Jun 2018 09:43:17 +0000 (11:43 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
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

index c051f23..5c3b649 100644 (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;