Searched refs:pp_params (Results 1 – 4 of 4) sorted by relevance
1274 struct page_pool_params pp_params = { 0 }; in netsec_setup_rx_dring() local1277 pp_params.order = 0; in netsec_setup_rx_dring()1279 pp_params.flags = PP_FLAG_DMA_MAP; in netsec_setup_rx_dring()1280 pp_params.pool_size = DESC_NUM; in netsec_setup_rx_dring()1281 pp_params.nid = cpu_to_node(0); in netsec_setup_rx_dring()1282 pp_params.dev = priv->dev; in netsec_setup_rx_dring()1283 pp_params.dma_dir = xdp_prog ? DMA_BIDIRECTIONAL : DMA_FROM_DEVICE; in netsec_setup_rx_dring()1285 dring->page_pool = page_pool_create(&pp_params); in netsec_setup_rx_dring()
558 struct page_pool_params pp_params; in cpsw_create_page_pool() local561 pp_params.order = 0; in cpsw_create_page_pool()562 pp_params.flags = PP_FLAG_DMA_MAP; in cpsw_create_page_pool()563 pp_params.pool_size = size; in cpsw_create_page_pool()564 pp_params.nid = NUMA_NO_NODE; in cpsw_create_page_pool()565 pp_params.dma_dir = DMA_BIDIRECTIONAL; in cpsw_create_page_pool()566 pp_params.dev = cpsw->dev; in cpsw_create_page_pool()568 pool = page_pool_create(&pp_params); in cpsw_create_page_pool()
1560 struct page_pool_params pp_params = { 0 }; in alloc_dma_rx_desc_resources() local1566 pp_params.flags = PP_FLAG_DMA_MAP; in alloc_dma_rx_desc_resources()1567 pp_params.pool_size = DMA_RX_SIZE; in alloc_dma_rx_desc_resources()1569 pp_params.order = ilog2(num_pages); in alloc_dma_rx_desc_resources()1570 pp_params.nid = dev_to_node(priv->device); in alloc_dma_rx_desc_resources()1571 pp_params.dev = priv->device; in alloc_dma_rx_desc_resources()1572 pp_params.dma_dir = DMA_FROM_DEVICE; in alloc_dma_rx_desc_resources()1574 rx_q->page_pool = page_pool_create(&pp_params); in alloc_dma_rx_desc_resources()
380 struct page_pool_params pp_params = { 0 }; in mlx5e_alloc_rq() local548 pp_params.order = 0; in mlx5e_alloc_rq()549 pp_params.flags = 0; /* No-internal DMA mapping in page_pool */ in mlx5e_alloc_rq()550 pp_params.pool_size = pool_size; in mlx5e_alloc_rq()551 pp_params.nid = cpu_to_node(c->cpu); in mlx5e_alloc_rq()552 pp_params.dev = c->pdev; in mlx5e_alloc_rq()553 pp_params.dma_dir = rq->buff.map_dir; in mlx5e_alloc_rq()560 rq->page_pool = page_pool_create(&pp_params); in mlx5e_alloc_rq()