Searched refs:rx_buffer_pgcnt (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/wangxun/libwx/ |
D | wx_lib.c | 164 int rx_buffer_pgcnt) in wx_can_reuse_rx_page() argument 175 if (unlikely((rx_buffer_pgcnt - pagecnt_bias) > 1)) in wx_can_reuse_rx_page() 237 int *rx_buffer_pgcnt) in wx_get_rx_buffer() argument 246 *rx_buffer_pgcnt = page_count(rx_buffer->page); in wx_get_rx_buffer() 248 *rx_buffer_pgcnt = 0; in wx_get_rx_buffer() 281 int rx_buffer_pgcnt) in wx_put_rx_buffer() argument 283 if (wx_can_reuse_rx_page(rx_buffer, rx_buffer_pgcnt)) { in wx_put_rx_buffer() 699 int rx_buffer_pgcnt; in wx_clean_rx_irq() local 717 rx_buffer = wx_get_rx_buffer(rx_ring, rx_desc, &skb, &rx_buffer_pgcnt); in wx_clean_rx_irq() 728 wx_put_rx_buffer(rx_ring, rx_buffer, skb, rx_buffer_pgcnt); in wx_clean_rx_irq()
|
/Linux-v6.6/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 1857 int *rx_buffer_pgcnt) in igc_get_rx_buffer() argument 1862 *rx_buffer_pgcnt = in igc_get_rx_buffer() 2046 int rx_buffer_pgcnt) in igc_can_reuse_rx_page() argument 2057 if (unlikely((rx_buffer_pgcnt - pagecnt_bias) > 1)) in igc_can_reuse_rx_page() 2146 int rx_buffer_pgcnt) in igc_put_rx_buffer() argument 2148 if (igc_can_reuse_rx_page(rx_buffer, rx_buffer_pgcnt)) { in igc_put_rx_buffer() 2583 int xdp_status = 0, rx_buffer_pgcnt; in igc_clean_rx_irq() local 2611 rx_buffer = igc_get_rx_buffer(rx_ring, size, &rx_buffer_pgcnt); in igc_clean_rx_irq() 2666 igc_put_rx_buffer(rx_ring, rx_buffer, rx_buffer_pgcnt); in igc_clean_rx_irq()
|
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 1940 int rx_buffer_pgcnt) in ixgbe_can_reuse_rx_page() argument 1951 if (unlikely((rx_buffer_pgcnt - pagecnt_bias) > 1)) in ixgbe_can_reuse_rx_page() 2017 int *rx_buffer_pgcnt) in ixgbe_get_rx_buffer() argument 2022 *rx_buffer_pgcnt = in ixgbe_get_rx_buffer() 2058 int rx_buffer_pgcnt) in ixgbe_put_rx_buffer() argument 2060 if (ixgbe_can_reuse_rx_page(rx_buffer, rx_buffer_pgcnt)) { in ixgbe_put_rx_buffer() 2310 int rx_buffer_pgcnt; in ixgbe_clean_rx_irq() local 2330 rx_buffer = ixgbe_get_rx_buffer(rx_ring, rx_desc, &skb, size, &rx_buffer_pgcnt); in ixgbe_clean_rx_irq() 2375 ixgbe_put_rx_buffer(rx_ring, rx_buffer, skb, rx_buffer_pgcnt); in ixgbe_clean_rx_irq()
|