Home
last modified time | relevance | path

Searched refs:pagecnt_bias (Results 1 – 19 of 19) sorted by relevance

/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c694 __page_frag_cache_drain(rx_bi->page, rx_bi->pagecnt_bias); in iavf_clean_rx_ring()
852 bi->pagecnt_bias = 1; in iavf_alloc_mapped_page()
1144 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in iavf_reuse_rx_page()
1189 unsigned int pagecnt_bias = rx_buffer->pagecnt_bias; in iavf_can_reuse_rx_page() local
1198 if (unlikely((page_count(page) - pagecnt_bias) > 1)) in iavf_can_reuse_rx_page()
1211 if (unlikely(!pagecnt_bias)) { in iavf_can_reuse_rx_page()
1213 rx_buffer->pagecnt_bias = USHRT_MAX; in iavf_can_reuse_rx_page()
1282 rx_buffer->pagecnt_bias--; in iavf_get_rx_buffer()
1346 rx_buffer->pagecnt_bias++; in iavf_construct_skb()
1423 rx_buffer->pagecnt_bias); in iavf_put_rx_buffer()
[all …]
Diavf_txrx.h282 __u16 pagecnt_bias; member
/drivers/net/ethernet/intel/ice/
Dice_txrx.c405 __page_frag_cache_drain(rx_buf->page, rx_buf->pagecnt_bias); in ice_clean_rx_ring()
662 bi->pagecnt_bias = USHRT_MAX; in ice_alloc_mapped_page()
776 unsigned int pagecnt_bias = rx_buf->pagecnt_bias; in ice_can_reuse_rx_page() local
785 if (unlikely((rx_buf_pgcnt - pagecnt_bias) > 1)) in ice_can_reuse_rx_page()
798 if (unlikely(pagecnt_bias == 1)) { in ice_can_reuse_rx_page()
800 rx_buf->pagecnt_bias = USHRT_MAX; in ice_can_reuse_rx_page()
862 new_buf->pagecnt_bias = old_buf->pagecnt_bias; in ice_reuse_rx_page()
899 rx_buf->pagecnt_bias--; in ice_get_rx_buf()
1009 rx_buf->pagecnt_bias++; in ice_construct_skb()
1046 __page_frag_cache_drain(rx_buf->page, rx_buf->pagecnt_bias); in ice_put_rx_buf()
[all …]
Dice_txrx.h172 u16 pagecnt_bias; member
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1227 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in i40e_reuse_rx_page()
1357 __page_frag_cache_drain(rx_bi->page, rx_bi->pagecnt_bias); in i40e_clean_rx_ring()
1540 bi->pagecnt_bias = USHRT_MAX; in i40e_alloc_mapped_page()
1872 unsigned int pagecnt_bias = rx_buffer->pagecnt_bias; in i40e_can_reuse_rx_page() local
1881 if (unlikely((rx_buffer_pgcnt - pagecnt_bias) > 1)) in i40e_can_reuse_rx_page()
1894 if (unlikely(pagecnt_bias == 1)) { in i40e_can_reuse_rx_page()
1896 rx_buffer->pagecnt_bias = USHRT_MAX; in i40e_can_reuse_rx_page()
1968 rx_buffer->pagecnt_bias--; in i40e_get_rx_buffer()
2047 rx_buffer->pagecnt_bias++; in i40e_construct_skb()
2126 rx_buffer->pagecnt_bias); in i40e_put_rx_buffer()
[all …]
Di40e_txrx.h279 __u16 pagecnt_bias; member
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c543 rx_buffer->pagecnt_bias--; in ixgbevf_get_rx_buffer()
565 rx_buffer->pagecnt_bias); in ixgbevf_put_rx_buffer()
639 bi->pagecnt_bias = 1; in ixgbevf_alloc_mapped_page()
781 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in ixgbevf_reuse_rx_page()
791 unsigned int pagecnt_bias = rx_buffer->pagecnt_bias; in ixgbevf_can_reuse_rx_page() local
800 if (unlikely((page_ref_count(page) - pagecnt_bias) > 1)) in ixgbevf_can_reuse_rx_page()
815 if (unlikely(!pagecnt_bias)) { in ixgbevf_can_reuse_rx_page()
817 rx_buffer->pagecnt_bias = USHRT_MAX; in ixgbevf_can_reuse_rx_page()
915 rx_buffer->pagecnt_bias++; in ixgbevf_construct_skb()
1186 rx_buffer->pagecnt_bias++; in ixgbevf_clean_rx_irq()
[all …]
Dixgbevf.h53 __u16 pagecnt_bias; member
/drivers/net/ethernet/intel/igc/
Digc_main.c376 buffer_info->pagecnt_bias); in igc_clean_rx_ring()
1644 rx_buffer->pagecnt_bias--; in igc_get_rx_buffer()
1763 rx_buffer->pagecnt_bias++; in igc_construct_skb()
1795 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in igc_reuse_rx_page()
1805 unsigned int pagecnt_bias = rx_buffer->pagecnt_bias; in igc_can_reuse_rx_page() local
1814 if (unlikely((page_ref_count(page) - pagecnt_bias) > 1)) in igc_can_reuse_rx_page()
1828 if (unlikely(!pagecnt_bias)) { in igc_can_reuse_rx_page()
1830 rx_buffer->pagecnt_bias = USHRT_MAX; in igc_can_reuse_rx_page()
1911 rx_buffer->pagecnt_bias); in igc_put_rx_buffer()
1959 bi->pagecnt_bias = 1; in igc_alloc_mapped_page()
[all …]
Digc.h447 __u16 pagecnt_bias; member
/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c2383 cb->pagecnt_bias = USHRT_MAX; in hns3_alloc_buffer()
2393 else if (!HNAE3_IS_TX_RING(ring) && cb->pagecnt_bias) in hns3_free_buffer()
2394 __page_frag_cache_drain(cb->priv, cb->pagecnt_bias); in hns3_free_buffer()
2697 return (page_count(cb->priv) - cb->pagecnt_bias) == 1; in hns3_can_reuse_page()
2708 desc_cb->pagecnt_bias--; in hns3_nic_reuse_page()
2717 __page_frag_cache_drain(desc_cb->priv, desc_cb->pagecnt_bias); in hns3_nic_reuse_page()
2729 } else if (desc_cb->pagecnt_bias) { in hns3_nic_reuse_page()
2730 __page_frag_cache_drain(desc_cb->priv, desc_cb->pagecnt_bias); in hns3_nic_reuse_page()
2734 if (unlikely(!desc_cb->pagecnt_bias)) { in hns3_nic_reuse_page()
2736 desc_cb->pagecnt_bias = USHRT_MAX; in hns3_nic_reuse_page()
[all …]
Dhns3_enet.h290 u16 pagecnt_bias; member
/drivers/net/ethernet/intel/igb/
Digb_main.c4967 buffer_info->pagecnt_bias); in igb_clean_rx_ring()
8258 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in igb_reuse_rx_page()
8269 unsigned int pagecnt_bias = rx_buffer->pagecnt_bias; in igb_can_reuse_rx_page() local
8278 if (unlikely((rx_buf_pgcnt - pagecnt_bias) > 1)) in igb_can_reuse_rx_page()
8292 if (unlikely(pagecnt_bias == 1)) { in igb_can_reuse_rx_page()
8294 rx_buffer->pagecnt_bias = USHRT_MAX; in igb_can_reuse_rx_page()
8380 rx_buffer->pagecnt_bias++; in igb_construct_skb()
8690 rx_buffer->pagecnt_bias--; in igb_get_rx_buffer()
8709 rx_buffer->pagecnt_bias); in igb_put_rx_buffer()
8780 rx_buffer->pagecnt_bias++; in igb_clean_rx_irq()
[all …]
Digb.h288 __u16 pagecnt_bias; member
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c1566 bi->pagecnt_bias = USHRT_MAX; in ixgbe_alloc_mapped_page()
1941 new_buff->pagecnt_bias = old_buff->pagecnt_bias; in ixgbe_reuse_rx_page()
1952 unsigned int pagecnt_bias = rx_buffer->pagecnt_bias; in ixgbe_can_reuse_rx_page() local
1961 if (unlikely((rx_buffer_pgcnt - pagecnt_bias) > 1)) in ixgbe_can_reuse_rx_page()
1979 if (unlikely(pagecnt_bias == 1)) { in ixgbe_can_reuse_rx_page()
1981 rx_buffer->pagecnt_bias = USHRT_MAX; in ixgbe_can_reuse_rx_page()
2060 rx_buffer->pagecnt_bias--; in ixgbe_get_rx_buffer()
2085 rx_buffer->pagecnt_bias); in ixgbe_put_rx_buffer()
2146 rx_buffer->pagecnt_bias++; in ixgbe_construct_skb()
2360 rx_buffer->pagecnt_bias++; in ixgbe_clean_rx_irq()
[all …]
Dixgbe.h235 __u16 pagecnt_bias; member
/drivers/net/wireless/mediatek/mt76/
Ddma.c499 __page_frag_cache_drain(page, q->rx_page.pagecnt_bias); in mt76_dma_rx_cleanup()
Dusb.c747 __page_frag_cache_drain(page, q->rx_page.pagecnt_bias); in mt76u_free_rx_queue()
/drivers/nvme/target/
Dtcp.c1445 __page_frag_cache_drain(page, queue->pf_cache.pagecnt_bias); in nvmet_tcp_release_queue_work()