mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 13:34:38 +08:00
net: mvneta: change page pool nid to NUMA_NO_NODE
With 'commit 44768decb7
("page_pool: handle page recycle for NUMA_NO_NODE
condition")' we can safely change nid to NUMA_NO_NODE and accommodate
future NUMA aware hardware using mvneta network interface
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
428cd52324
commit
1657adccaa
@ -3071,7 +3071,7 @@ static int mvneta_create_page_pool(struct mvneta_port *pp,
|
||||
.order = 0,
|
||||
.flags = PP_FLAG_DMA_MAP | PP_FLAG_DMA_SYNC_DEV,
|
||||
.pool_size = size,
|
||||
.nid = cpu_to_node(0),
|
||||
.nid = NUMA_NO_NODE,
|
||||
.dev = pp->dev->dev.parent,
|
||||
.dma_dir = xdp_prog ? DMA_BIDIRECTIONAL : DMA_FROM_DEVICE,
|
||||
.offset = pp->rx_offset_correction,
|
||||
|
Loading…
Reference in New Issue
Block a user