Lines Matching refs:freelQ
194 struct freelQ { struct
257 struct freelQ freelQ[SGE_FREELQ_N]; /* buffer free lists */ member
505 static void free_freelQ_buffers(struct pci_dev *pdev, struct freelQ *q) in free_freelQ_buffers()
537 struct freelQ *q = &sge->freelQ[i]; in free_rx_resources()
561 struct freelQ *q = &sge->freelQ[i]; in alloc_rx_resources()
584 sge->freelQ[!sge->jumbo_fl].rx_buffer_size = SGE_RX_SM_BUF_SIZE + in alloc_rx_resources()
586 sge->freelQ[!sge->jumbo_fl].dma_offset; in alloc_rx_resources()
591 sge->freelQ[sge->jumbo_fl].rx_buffer_size = size; in alloc_rx_resources()
597 sge->freelQ[!sge->jumbo_fl].recycleq_idx = 0; in alloc_rx_resources()
598 sge->freelQ[sge->jumbo_fl].recycleq_idx = 1; in alloc_rx_resources()
758 setup_ring_params(ap, sge->freelQ[0].dma_addr, in configure_sge()
759 sge->freelQ[0].size, A_SG_FL0BASELWR, in configure_sge()
761 setup_ring_params(ap, sge->freelQ[1].dma_addr, in configure_sge()
762 sge->freelQ[1].size, A_SG_FL1BASELWR, in configure_sge()
792 return sge->freelQ[sge->jumbo_fl].rx_buffer_size - in jumbo_payload_capacity()
793 sge->freelQ[sge->jumbo_fl].dma_offset - in jumbo_payload_capacity()
825 static void refill_free_list(struct sge *sge, struct freelQ *q) in refill_free_list()
877 refill_free_list(sge, &sge->freelQ[0]); in freelQs_empty()
878 refill_free_list(sge, &sge->freelQ[1]); in freelQs_empty()
880 if (sge->freelQ[0].credits > (sge->freelQ[0].size >> 2) && in freelQs_empty()
881 sge->freelQ[1].credits > (sge->freelQ[1].size >> 2)) { in freelQs_empty()
1003 static void recycle_fl_buf(struct freelQ *fl, int idx) in recycle_fl_buf()
1041 struct freelQ *fl, unsigned int len) in get_packet()
1090 static void unexpected_offload(struct adapter *adapter, struct freelQ *fl) in unexpected_offload()
1353 static void sge_rx(struct sge *sge, struct freelQ *fl, unsigned int len) in sge_rx()
1497 struct freelQ *fl = &sge->freelQ[e->FreelistQid]; in process_responses()
1562 const struct freelQ *fl = &sge->freelQ[e->FreelistQid]; in process_pure_responses()
1965 refill_free_list(sge, &sge->freelQ[0]); in t1_sge_start()
1966 refill_free_list(sge, &sge->freelQ[1]); in t1_sge_start()