Searched refs:num_free_buffers (Results 1 – 1 of 1) sorted by relevance
1172 uint32_t num_free_buffers; in ql_refill_sbuf_free_list() local1180 num_free_buffers = NUM_SMALL_BUFFERS - in ql_refill_sbuf_free_list()1183 num_free_buffers = sb_producer_idx - sb_consumer_idx; in ql_refill_sbuf_free_list()1185 if (num_free_buffers < qlge->rx_sb_low_count[rx_ring->cq_id]) in ql_refill_sbuf_free_list()1186 qlge->rx_sb_low_count[rx_ring->cq_id] = num_free_buffers; in ql_refill_sbuf_free_list()1285 uint32_t num_free_buffers; in ql_refill_lbuf_free_list() local1294 num_free_buffers = NUM_LARGE_BUFFERS - in ql_refill_lbuf_free_list()1297 num_free_buffers = lb_producer_idx - lb_consumer_idx; in ql_refill_lbuf_free_list()1299 if (num_free_buffers < qlge->rx_lb_low_count[rx_ring->cq_id]) { in ql_refill_lbuf_free_list()1300 qlge->rx_lb_low_count[rx_ring->cq_id] = num_free_buffers; in ql_refill_lbuf_free_list()