Lines Matching refs:fill_cnt
137 int fill_cnt; member
1311 while (rx->fill_cnt != (rx->cnt + rx->mask + 1)) { in myri10ge_alloc_rx_pages()
1312 idx = rx->fill_cnt & rx->mask; in myri10ge_alloc_rx_pages()
1322 if (rx->fill_cnt - rx->cnt < 16) in myri10ge_alloc_rx_pages()
1332 if (rx->fill_cnt - rx->cnt < 16) in myri10ge_alloc_rx_pages()
1361 rx->fill_cnt++; in myri10ge_alloc_rx_pages()
1623 if (ss->rx_small.fill_cnt - ss->rx_small.cnt < myri10ge_fill_thresh) in myri10ge_clean_rx_done()
1626 if (ss->rx_big.fill_cnt - ss->rx_big.cnt < myri10ge_fill_thresh) in myri10ge_clean_rx_done()
2194 ss->rx_big.fill_cnt = 0; in myri10ge_allocate_rings()
2195 ss->rx_small.fill_cnt = 0; in myri10ge_allocate_rings()
2201 ss->rx_small.fill_cnt = ss->rx_small.mask + 1; in myri10ge_allocate_rings()
2207 if (ss->rx_small.fill_cnt < ss->rx_small.mask + 1) { in myri10ge_allocate_rings()
2209 slice, ss->rx_small.fill_cnt); in myri10ge_allocate_rings()
2214 if (ss->rx_big.fill_cnt < ss->rx_big.mask + 1) { in myri10ge_allocate_rings()
2216 slice, ss->rx_big.fill_cnt); in myri10ge_allocate_rings()
2223 for (i = ss->rx_big.cnt; i < ss->rx_big.fill_cnt; i++) { in myri10ge_allocate_rings()
2232 ss->rx_small.fill_cnt = ss->rx_small.cnt; in myri10ge_allocate_rings()
2233 for (i = ss->rx_small.cnt; i < ss->rx_small.fill_cnt; i++) { in myri10ge_allocate_rings()
2274 for (i = ss->rx_big.cnt; i < ss->rx_big.fill_cnt; i++) { in myri10ge_free_rings()
2276 if (i == ss->rx_big.fill_cnt - 1) in myri10ge_free_rings()
2284 ss->rx_small.fill_cnt = ss->rx_small.cnt; in myri10ge_free_rings()
2285 for (i = ss->rx_small.cnt; i < ss->rx_small.fill_cnt; i++) { in myri10ge_free_rings()
2287 if (i == ss->rx_small.fill_cnt - 1) in myri10ge_free_rings()
3729 if (ss->rx_small.fill_cnt - ss->rx_small.cnt >= in myri10ge_watchdog_timer()
3736 if (ss->rx_big.fill_cnt - ss->rx_big.cnt >= in myri10ge_watchdog_timer()