Searched refs:num_free_buffers (Results 1 – 1 of 1) sorted by relevance
1176 uint32_t num_free_buffers; in ql_refill_sbuf_free_list() local1184 num_free_buffers = NUM_SMALL_BUFFERS - in ql_refill_sbuf_free_list()1187 num_free_buffers = sb_producer_idx - sb_consumer_idx; in ql_refill_sbuf_free_list()1189 if (num_free_buffers < qlge->rx_sb_low_count[rx_ring->cq_id]) in ql_refill_sbuf_free_list()1190 qlge->rx_sb_low_count[rx_ring->cq_id] = num_free_buffers; in ql_refill_sbuf_free_list()1289 uint32_t num_free_buffers; in ql_refill_lbuf_free_list() local1298 num_free_buffers = NUM_LARGE_BUFFERS - in ql_refill_lbuf_free_list()1301 num_free_buffers = lb_producer_idx - lb_consumer_idx; in ql_refill_lbuf_free_list()1303 if (num_free_buffers < qlge->rx_lb_low_count[rx_ring->cq_id]) { in ql_refill_lbuf_free_list()1304 qlge->rx_lb_low_count[rx_ring->cq_id] = num_free_buffers; in ql_refill_lbuf_free_list()