git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
241da07
)
net/ena: update NUMA node
author
Rafal Kozik
<rk@semihalf.com>
Thu, 7 Jun 2018 09:43:17 +0000
(11:43 +0200)
committer
Ferruh 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
patch
|
blob
|
history
diff --git
a/drivers/net/ena/ena_ethdev.c
b/drivers/net/ena/ena_ethdev.c
index
c051f23
..
5c3b649
100644
(file)
--- 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;