Searched refs:pp_params (Results 1 – 13 of 13) sorted by relevance
158 struct page_pool_params pp_params = { 0 };162 pp_params.order = 0;164 pp_params.flags = PP_FLAG_DMA_MAP;165 pp_params.pool_size = DESC_NUM;166 pp_params.nid = NUMA_NO_NODE;167 pp_params.dev = priv->dev;168 pp_params.dma_dir = xdp_prog ? DMA_BIDIRECTIONAL : DMA_FROM_DEVICE;169 page_pool = page_pool_create(&pp_params);
653 struct page_pool_params pp_params = { 0 }; in tsnep_rx_ring_init() local676 pp_params.flags = PP_FLAG_DMA_MAP | PP_FLAG_DMA_SYNC_DEV; in tsnep_rx_ring_init()677 pp_params.order = 0; in tsnep_rx_ring_init()678 pp_params.pool_size = TSNEP_RING_SIZE; in tsnep_rx_ring_init()679 pp_params.nid = dev_to_node(dmadev); in tsnep_rx_ring_init()680 pp_params.dev = dmadev; in tsnep_rx_ring_init()681 pp_params.dma_dir = DMA_FROM_DEVICE; in tsnep_rx_ring_init()682 pp_params.max_len = TSNEP_MAX_RX_BUF_SIZE; in tsnep_rx_ring_init()683 pp_params.offset = TSNEP_SKB_PAD; in tsnep_rx_ring_init()684 rx->page_pool = page_pool_create(&pp_params); in tsnep_rx_ring_init()
1149 struct page_pool_params pp_params = {}; in cpsw_create_page_pool() local1152 pp_params.order = 0; in cpsw_create_page_pool()1153 pp_params.flags = PP_FLAG_DMA_MAP; in cpsw_create_page_pool()1154 pp_params.pool_size = size; in cpsw_create_page_pool()1155 pp_params.nid = NUMA_NO_NODE; in cpsw_create_page_pool()1156 pp_params.dma_dir = DMA_BIDIRECTIONAL; in cpsw_create_page_pool()1157 pp_params.dev = cpsw->dev; in cpsw_create_page_pool()1159 pool = page_pool_create(&pp_params); in cpsw_create_page_pool()
1993 struct page_pool_params pp_params = { 0 }; in __alloc_dma_rx_desc_resources() local2001 pp_params.flags = PP_FLAG_DMA_MAP | PP_FLAG_DMA_SYNC_DEV; in __alloc_dma_rx_desc_resources()2002 pp_params.pool_size = dma_conf->dma_rx_size; in __alloc_dma_rx_desc_resources()2004 pp_params.order = ilog2(num_pages); in __alloc_dma_rx_desc_resources()2005 pp_params.nid = dev_to_node(priv->device); in __alloc_dma_rx_desc_resources()2006 pp_params.dev = priv->device; in __alloc_dma_rx_desc_resources()2007 pp_params.dma_dir = xdp_prog ? DMA_BIDIRECTIONAL : DMA_FROM_DEVICE; in __alloc_dma_rx_desc_resources()2008 pp_params.offset = stmmac_rx_offset(priv); in __alloc_dma_rx_desc_resources()2009 pp_params.max_len = STMMAC_MAX_RX_BUF_SIZE(num_pages); in __alloc_dma_rx_desc_resources()2011 rx_q->page_pool = page_pool_create(&pp_params); in __alloc_dma_rx_desc_resources()
669 struct page_pool_params pp_params = { 0 }; in mlx5e_alloc_rq() local774 pp_params.order = 0; in mlx5e_alloc_rq()775 pp_params.flags = 0; /* No-internal DMA mapping in page_pool */ in mlx5e_alloc_rq()776 pp_params.pool_size = pool_size; in mlx5e_alloc_rq()777 pp_params.nid = node; in mlx5e_alloc_rq()778 pp_params.dev = rq->pdev; in mlx5e_alloc_rq()779 pp_params.dma_dir = rq->buff.map_dir; in mlx5e_alloc_rq()786 rq->page_pool = page_pool_create(&pp_params); in mlx5e_alloc_rq()
153 struct page_pool_params pp_params = { in xdp_test_run_setup() local170 pp = page_pool_create(&pp_params); in xdp_test_run_setup()
1295 struct page_pool_params pp_params = { in netsec_setup_rx_dring() local1308 dring->page_pool = page_pool_create(&pp_params); in netsec_setup_rx_dring()
2160 struct page_pool_params pp_params = { in xennet_create_page_pool() local2170 queue->page_pool = page_pool_create(&pp_params); in xennet_create_page_pool()
1480 struct page_pool_params pp_params = { in mtk_create_page_pool() local1492 pp_params.dma_dir = rcu_access_pointer(eth->prog) ? DMA_BIDIRECTIONAL in mtk_create_page_pool()1494 pp = page_pool_create(&pp_params); in mtk_create_page_pool()
431 struct page_pool_params pp_params = { in fec_enet_create_page_pool() local443 rxq->page_pool = page_pool_create(&pp_params); in fec_enet_create_page_pool()
3283 struct page_pool_params pp_params = { in mvneta_create_page_pool() local3295 rxq->page_pool = page_pool_create(&pp_params); in mvneta_create_page_pool()
4929 struct page_pool_params pp_params = { in hns3_alloc_page_pool() local4942 ring->page_pool = page_pool_create(&pp_params); in hns3_alloc_page_pool()
108 struct page_pool_params pp_params = { in mvpp2_create_page_pool() local119 return page_pool_create(&pp_params); in mvpp2_create_page_pool()