Searched refs:pp_params (Results 1 – 9 of 9) sorted by relevance
117 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);
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()
411 struct page_pool_params pp_params = { 0 }; in mlx5e_alloc_rq() local499 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()
1968 struct page_pool_params pp_params = { 0 }; in __alloc_dma_rx_desc_resources() local1976 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()
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()
2064 struct page_pool_params pp_params = { in xennet_create_page_pool() local2074 queue->page_pool = page_pool_create(&pp_params); in xennet_create_page_pool()
3217 struct page_pool_params pp_params = { in mvneta_create_page_pool() local3229 rxq->page_pool = page_pool_create(&pp_params); in mvneta_create_page_pool()
4731 struct page_pool_params pp_params = { in hns3_alloc_page_pool() local4744 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()