Home
last modified time | relevance | path

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

/Linux-v5.15/Documentation/networking/
Dpage_pool.rst117 struct page_pool_params pp_params = { 0 };
121 pp_params.order = 0;
123 pp_params.flags = PP_FLAG_DMA_MAP;
124 pp_params.pool_size = DESC_NUM;
125 pp_params.nid = NUMA_NO_NODE;
126 pp_params.dev = priv->dev;
127 pp_params.dma_dir = xdp_prog ? DMA_BIDIRECTIONAL : DMA_FROM_DEVICE;
128 page_pool = page_pool_create(&pp_params);
/Linux-v5.15/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.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c411 struct page_pool_params pp_params = { 0 }; in mlx5e_alloc_rq() local
499 pp_params.order = 0; in mlx5e_alloc_rq()
500 pp_params.flags = 0; /* No-internal DMA mapping in page_pool */ in mlx5e_alloc_rq()
501 pp_params.pool_size = pool_size; in mlx5e_alloc_rq()
502 pp_params.nid = node; in mlx5e_alloc_rq()
503 pp_params.dev = rq->pdev; in mlx5e_alloc_rq()
504 pp_params.dma_dir = rq->buff.map_dir; in mlx5e_alloc_rq()
511 rq->page_pool = page_pool_create(&pp_params); in mlx5e_alloc_rq()
/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c1968 struct page_pool_params pp_params = { 0 }; in __alloc_dma_rx_desc_resources() local
1976 pp_params.flags = PP_FLAG_DMA_MAP | PP_FLAG_DMA_SYNC_DEV; in __alloc_dma_rx_desc_resources()
1977 pp_params.pool_size = priv->dma_rx_size; in __alloc_dma_rx_desc_resources()
1979 pp_params.order = ilog2(num_pages); in __alloc_dma_rx_desc_resources()
1980 pp_params.nid = dev_to_node(priv->device); in __alloc_dma_rx_desc_resources()
1981 pp_params.dev = priv->device; in __alloc_dma_rx_desc_resources()
1982 pp_params.dma_dir = xdp_prog ? DMA_BIDIRECTIONAL : DMA_FROM_DEVICE; in __alloc_dma_rx_desc_resources()
1983 pp_params.offset = stmmac_rx_offset(priv); in __alloc_dma_rx_desc_resources()
1984 pp_params.max_len = STMMAC_MAX_RX_BUF_SIZE(num_pages); in __alloc_dma_rx_desc_resources()
1986 rx_q->page_pool = page_pool_create(&pp_params); in __alloc_dma_rx_desc_resources()
/Linux-v5.15/drivers/net/ethernet/socionext/
Dnetsec.c1295 struct page_pool_params pp_params = { in netsec_setup_rx_dring() local
1308 dring->page_pool = page_pool_create(&pp_params); in netsec_setup_rx_dring()
/Linux-v5.15/drivers/net/
Dxen-netfront.c2064 struct page_pool_params pp_params = { in xennet_create_page_pool() local
2074 queue->page_pool = page_pool_create(&pp_params); in xennet_create_page_pool()
/Linux-v5.15/drivers/net/ethernet/marvell/
Dmvneta.c3217 struct page_pool_params pp_params = { in mvneta_create_page_pool() local
3229 rxq->page_pool = page_pool_create(&pp_params); in mvneta_create_page_pool()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c4731 struct page_pool_params pp_params = { in hns3_alloc_page_pool() local
4744 ring->page_pool = page_pool_create(&pp_params); in hns3_alloc_page_pool()
/Linux-v5.15/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c108 struct page_pool_params pp_params = { in mvpp2_create_page_pool() local
119 return page_pool_create(&pp_params); in mvpp2_create_page_pool()