Home
last modified time | relevance | path

Searched refs:pp_params (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/Documentation/networking/
Dpage_pool.rst109 struct page_pool_params pp_params = { 0 };
113 pp_params.order = 0;
115 pp_params.flags = PP_FLAG_DMA_MAP;
116 pp_params.pool_size = DESC_NUM;
117 pp_params.nid = NUMA_NO_NODE;
118 pp_params.dev = priv->dev;
119 pp_params.dma_dir = xdp_prog ? DMA_BIDIRECTIONAL : DMA_FROM_DEVICE;
120 page_pool = page_pool_create(&pp_params);
/Linux-v5.10/drivers/net/ethernet/ti/
Dcpsw_priv.c1147 struct page_pool_params pp_params; in cpsw_create_page_pool() local
1150 pp_params.order = 0; in cpsw_create_page_pool()
1151 pp_params.flags = PP_FLAG_DMA_MAP; in cpsw_create_page_pool()
1152 pp_params.pool_size = size; in cpsw_create_page_pool()
1153 pp_params.nid = NUMA_NO_NODE; in cpsw_create_page_pool()
1154 pp_params.dma_dir = DMA_BIDIRECTIONAL; in cpsw_create_page_pool()
1155 pp_params.dev = cpsw->dev; in cpsw_create_page_pool()
1157 pool = page_pool_create(&pp_params); in cpsw_create_page_pool()
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c1636 struct page_pool_params pp_params = { 0 }; in alloc_dma_rx_desc_resources() local
1642 pp_params.flags = PP_FLAG_DMA_MAP; in alloc_dma_rx_desc_resources()
1643 pp_params.pool_size = priv->dma_rx_size; in alloc_dma_rx_desc_resources()
1645 pp_params.order = ilog2(num_pages); in alloc_dma_rx_desc_resources()
1646 pp_params.nid = dev_to_node(priv->device); in alloc_dma_rx_desc_resources()
1647 pp_params.dev = priv->device; in alloc_dma_rx_desc_resources()
1648 pp_params.dma_dir = DMA_FROM_DEVICE; in alloc_dma_rx_desc_resources()
1650 rx_q->page_pool = page_pool_create(&pp_params); in alloc_dma_rx_desc_resources()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c400 struct page_pool_params pp_params = { 0 }; in mlx5e_alloc_rq() local
517 pp_params.order = 0; in mlx5e_alloc_rq()
518 pp_params.flags = 0; /* No-internal DMA mapping in page_pool */ in mlx5e_alloc_rq()
519 pp_params.pool_size = pool_size; in mlx5e_alloc_rq()
520 pp_params.nid = cpu_to_node(c->cpu); in mlx5e_alloc_rq()
521 pp_params.dev = c->pdev; in mlx5e_alloc_rq()
522 pp_params.dma_dir = rq->buff.map_dir; in mlx5e_alloc_rq()
529 rq->page_pool = page_pool_create(&pp_params); in mlx5e_alloc_rq()
/Linux-v5.10/drivers/net/ethernet/socionext/
Dnetsec.c1287 struct page_pool_params pp_params = { in netsec_setup_rx_dring() local
1300 dring->page_pool = page_pool_create(&pp_params); in netsec_setup_rx_dring()
/Linux-v5.10/drivers/net/
Dxen-netfront.c1999 struct page_pool_params pp_params = { in xennet_create_page_pool() local
2009 queue->page_pool = page_pool_create(&pp_params); in xennet_create_page_pool()
/Linux-v5.10/drivers/net/ethernet/marvell/
Dmvneta.c3204 struct page_pool_params pp_params = { in mvneta_create_page_pool() local
3216 rxq->page_pool = page_pool_create(&pp_params); in mvneta_create_page_pool()
/Linux-v5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c98 struct page_pool_params pp_params = { in mvpp2_create_page_pool() local
109 return page_pool_create(&pp_params); in mvpp2_create_page_pool()