Searched refs:pp_params (Results 1 – 8 of 8) sorted by relevance
109 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);
1147 struct page_pool_params pp_params; in cpsw_create_page_pool() local1150 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()
1636 struct page_pool_params pp_params = { 0 }; in alloc_dma_rx_desc_resources() local1642 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()
400 struct page_pool_params pp_params = { 0 }; in mlx5e_alloc_rq() local517 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()
1287 struct page_pool_params pp_params = { in netsec_setup_rx_dring() local1300 dring->page_pool = page_pool_create(&pp_params); in netsec_setup_rx_dring()
1999 struct page_pool_params pp_params = { in xennet_create_page_pool() local2009 queue->page_pool = page_pool_create(&pp_params); in xennet_create_page_pool()
3204 struct page_pool_params pp_params = { in mvneta_create_page_pool() local3216 rxq->page_pool = page_pool_create(&pp_params); in mvneta_create_page_pool()
98 struct page_pool_params pp_params = { in mvpp2_create_page_pool() local109 return page_pool_create(&pp_params); in mvpp2_create_page_pool()