Searched refs:rx_free (Results 1 - 14 of 14) sorted by relevance

/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/
H A Drx.c77 * + A list of pre-allocated RBDs is stored in iwl->rxq->rx_free.
80 * or reused - added immediately to the iwl->rxq->rx_free list.
88 * add them to iwl->rxq->rx_free. If it fails - it continues to claim them
99 * + If there are no allocated buffers in iwl->rxq->rx_free,
106 * iwl_rxq_alloc() Allocates rx_free
107 * iwl_pcie_rx_replenish() Replenishes rx_free list from rx_used, and calls
110 * iwl_pcie_rxq_restock() Moves available buffers from rx_free into Rx
126 * rxq.pool -> rxq.rx_used -> rxq.rx_free -> rxq.queue
131 * allocator.rbd_allocated -> rxq.rx_free -> rxq.queue
133 * rxq.queue -> rxq.rx_free -> rxq.queue
229 * as we can, pulling from rx_free.
259 rxb = list_first_entry(&rxq->rx_free, struct iwl_rx_mem_buffer, iwl_pcie_rxq_restock()
382 list_add_tail(&rxb->list, &rxq->rx_free); iwl_pcie_rxq_alloc_rbs()
409 * iwl_pcie_rx_replenish - Move all used buffers from rx_used to rx_free
411 * When moving to rx_free an page is allocated for the slot.
658 INIT_LIST_HEAD(&rxq->rx_free); iwl_pcie_rx_init_rxb_lists()
936 * rx_free list for reuse later. */ iwl_pcie_rx_handle_rb()
952 list_add_tail(&rxb->list, &rxq->rx_free); iwl_pcie_rx_handle_rb()
1022 &rxq->rx_free); iwl_pcie_rx_handle()
H A Dinternal.h97 * @free_count: Number of pre-allocated buffers in rx_free
100 * @rx_free: list of RBDs with allocated RB ready for use
109 * NOTE: rx_free and rx_used are used as a FIFO for iwl_rx_mem_buffers
119 struct list_head rx_free; member in struct:iwl_rxq
/linux-4.4.14/drivers/net/fddi/skfp/h/
H A Dfplustm.h111 u_short rx_free ; /* count of free RxD's */ member in struct:s_smt_rx_queue
H A Dhwmtm.h317 #define HWM_GET_RX_FREE(smc) ((int)(smc)->hw.fp.rx_q[QUEUE_R1].rx_free-1)
/linux-4.4.14/drivers/net/wireless/iwlegacy/
H A D3945-mac.c900 * + A list of pre-allocated SKBs is stored in iwl->rxq->rx_free. When
902 * to replenish the iwl->rxq->rx_free.
908 * + The Host/Firmware iwl->rxq is replenished at tasklet time from the rx_free
909 * list. If there are no allocated buffers in iwl->rxq->rx_free, the READ
916 * il3945_rx_replenish() Replenishes rx_free list from rx_used, and calls
918 * il3945_rx_queue_restock() Moves available buffers from rx_free into Rx
920 * the WRITE idx. If insufficient rx_free buffers
947 * as we can, pulling from rx_free.
966 element = rxq->rx_free.next; il3945_rx_queue_restock()
995 * il3945_rx_replenish - Move all used packet from rx_used to rx_free
997 * When moving to rx_free an SKB is allocated for the slot.
1071 list_add_tail(&rxb->list, &rxq->rx_free); il3945_rx_allocate()
1085 INIT_LIST_HEAD(&rxq->rx_free); il3945_rx_queue_reset()
1286 * rx_free list for reuse later. */ il3945_rx_handle()
1299 list_add_tail(&rxb->list, &rxq->rx_free); il3945_rx_handle()
H A Dcommon.c2516 * + A list of pre-allocated SKBs is stored in iwl->rxq->rx_free. When
2518 * to replenish the iwl->rxq->rx_free.
2524 * + The Host/Firmware iwl->rxq is replenished at tasklet time from the rx_free
2525 * list. If there are no allocated buffers in iwl->rxq->rx_free, the READ
2532 * il_rx_queue_alloc() Allocates rx_free
2533 * il_rx_replenish() Replenishes rx_free list from rx_used, and calls
2535 * il_rx_queue_restock() Moves available buffers from rx_free into Rx
2537 * the WRITE idx. If insufficient rx_free buffers
2619 INIT_LIST_HEAD(&rxq->rx_free); il_rx_queue_alloc()
H A Dcommon.h597 * @free_count: Number of pre-allocated buffers in rx_free
598 * @rx_free: list of free SKBs for use
604 * NOTE: rx_free and rx_used are used as a FIFO for il_rx_bufs
615 struct list_head rx_free; member in struct:il_rx_queue
H A D4965-mac.c105 INIT_LIST_HEAD(&rxq->rx_free); il4965_rx_queue_reset()
258 * as we can, pulling from rx_free.
279 element = rxq->rx_free.next; il4965_rx_queue_restock()
307 * il4965_rx_replenish - Move all used packet from rx_used to rx_free
309 * When moving to rx_free an SKB is allocated for the slot.
388 list_add_tail(&rxb->list, &rxq->rx_free); il4965_rx_allocate()
4311 * rx_free list for reuse later. */ il4965_rx_handle()
4325 list_add_tail(&rxb->list, &rxq->rx_free); il4965_rx_handle()
/linux-4.4.14/drivers/net/ethernet/3com/
H A Dtyphoon.c250 struct rx_free rxBuff[RXFREE_ENTRIES] __3xp_aligned;
1202 sizeof(struct rx_free)); typhoon_init_interface()
1561 struct rx_free *r; typhoon_recycle_rx_skb()
1572 r = (struct rx_free *) (ring->ringBase + ring->lastWrite); typhoon_recycle_rx_skb()
1588 struct rx_free *r; typhoon_alloc_rx_skb()
1615 r = (struct rx_free *) (ring->ringBase + ring->lastWrite); typhoon_alloc_rx_skb()
H A Dtyphoon.h299 struct rx_free { struct
/linux-4.4.14/drivers/net/fddi/skfp/
H A Dhwmtm.c409 queue->rx_free = SMT_R1_RXD_COUNT ; init_rxd_ring()
1158 queue->rx_free += frag_count ; process_receive()
1434 smc->hw.fp.rx_q[QUEUE_R1].rx_free-- ; hwm_rx_frag()
1515 queue->rx_free += frag_count ; mac_drv_clear_rx_queue()
H A Dskfddi.c1759 * mac_drv_rx_complete if rx_free is large enough to queue some new
/linux-4.4.14/drivers/net/wireless/ipw2x00/
H A Dipw2200.h726 u32 free_count; /* Number of pre-allocated buffers in rx_free */
728 struct list_head rx_free; /* Own an SKBs */ member in struct:ipw_rx_queue
H A Dipw2200.c3458 INIT_LIST_HEAD(&rxq->rx_free); ipw_rx_queue_reset()
5119 * + A list of pre-allocated SKBs is stored in ipw->rxq->rx_free. When
5121 * to replensish the ipw->rxq->rx_free.
5127 * + The Host/Firmware ipw->rxq is replenished at tasklet time from the rx_free
5128 * list. If there are no allocated buffers in ipw->rxq->rx_free, the READ
5135 * ipw_rx_queue_alloc() Allocates rx_free
5136 * ipw_rx_queue_replenish() Replenishes rx_free list from rx_used, and calls
5138 * ipw_rx_queue_restock() Moves available buffers from rx_free into Rx
5140 * the WRITE index. If insufficient rx_free buffers
5156 * as we can pulling from rx_free.
5173 element = rxq->rx_free.next; ipw_rx_queue_restock()
5196 * Move all used packet from rx_used to rx_free, allocating a new SKB for each.
5228 list_add_tail(&rxb->list, &rxq->rx_free); ipw_rx_queue_replenish()
5279 INIT_LIST_HEAD(&rxq->rx_free); ipw_rx_queue_alloc()

Completed in 610 milliseconds