Searched refs:tx_pages (Results 1 – 2 of 2) sorted by relevance
179 struct pciefd_page tx_pages[PCIEFD_TX_PAGE_COUNT]; member364 priv->tx_pages[0].vbase = priv->tx_dma_vaddr; in pciefd_enable_tx_path()365 priv->tx_pages[0].lbase = priv->tx_dma_laddr; in pciefd_enable_tx_path()368 priv->tx_pages[i].offset = 0; in pciefd_enable_tx_path()369 priv->tx_pages[i].size = PCIEFD_TX_PAGE_SIZE - in pciefd_enable_tx_path()372 priv->tx_pages[i].vbase = in pciefd_enable_tx_path()373 priv->tx_pages[i - 1].vbase + in pciefd_enable_tx_path()375 priv->tx_pages[i].lbase = in pciefd_enable_tx_path()376 priv->tx_pages[i - 1].lbase + in pciefd_enable_tx_path()504 struct pciefd_page *page = priv->tx_pages + priv->tx_page_index; in pciefd_alloc_tx_msg()[all …]
1008 u64 max_pages, tx_pages; in gve_update_num_qpl_pages() local1028 tx_pages = div64_u64(max_pages * ideal_tx_pages, in gve_update_num_qpl_pages()1030 tx_alloc_cfg->pages_per_qpl = div_u64(tx_pages, tx_num_queues); in gve_update_num_qpl_pages()1031 rx_alloc_cfg->pages_per_qpl = div_u64(max_pages - tx_pages, in gve_update_num_qpl_pages()