Home
last modified time | relevance | path

Searched refs:rx_skbs (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/toshiba/
Dtc35815.c434 } tx_skbs[TX_FD_NUM], rx_skbs[RX_BUF_NUM]; member
886 lp->rx_skbs[i].skb = in tc35815_init_queues()
888 &lp->rx_skbs[i].skb_dma); in tc35815_init_queues()
889 if (!lp->rx_skbs[i].skb) { in tc35815_init_queues()
892 lp->rx_skbs[i].skb, in tc35815_init_queues()
893 lp->rx_skbs[i].skb_dma); in tc35815_init_queues()
894 lp->rx_skbs[i].skb = NULL; in tc35815_init_queues()
944 if (lp->rx_skbs[i].skb) { in tc35815_init_queues()
946 lp->rx_skbs[lp->fbl_count].skb = in tc35815_init_queues()
947 lp->rx_skbs[i].skb; in tc35815_init_queues()
[all …]
/linux-6.6.21/drivers/net/ethernet/sgi/
Dmeth.c84 struct sk_buff *rx_skbs[RX_RING_ENTRIES]; member
230 priv->rx_skbs[i] = alloc_skb(METH_RX_BUFF_SIZE, 0); in meth_init_rx_ring()
233 skb_reserve(priv->rx_skbs[i],METH_RX_HEAD); in meth_init_rx_ring()
234 priv->rx_ring[i]=(rx_packet*)(priv->rx_skbs[i]->head); in meth_init_rx_ring()
267 kfree_skb(priv->rx_skbs[i]); in meth_free_rx_ring()
411 skb = priv->rx_skbs[priv->rx_write]; in meth_rx()
418 skb = priv->rx_skbs[priv->rx_write]; in meth_rx()
420 struct sk_buff *skb_c = priv->rx_skbs[priv->rx_write]; in meth_rx()
426 priv->rx_skbs[priv->rx_write] = skb; in meth_rx()
435 skb=priv->rx_skbs[priv->rx_write]; in meth_rx()
Dioc3-eth.c89 struct sk_buff *rx_skbs[RX_RING_ENTRIES]; member
379 skb = ip->rx_skbs[rx_entry]; in ioc3_rx()
410 ip->rx_skbs[rx_entry] = NULL; /* Poison */ in ioc3_rx()
429 ip->rx_skbs[n_entry] = new_skb; in ioc3_rx()
436 skb = ip->rx_skbs[rx_entry]; in ioc3_rx()
657 skb = ip->rx_skbs[n_entry]; in ioc3_free_rx_bufs()
680 if (ioc3_alloc_skb(ip, &ip->rx_skbs[i], &rxb, &d)) in ioc3_alloc_rx_bufs()
/linux-6.6.21/drivers/net/wan/
Dwanxl.c75 struct sk_buff *rx_skbs[RX_QUEUE_LENGTH]; member
217 struct sk_buff *skb = card->rx_skbs[card->rx_in]; in wanxl_rx_intr()
249 card->rx_skbs[card->rx_in] = skb; in wanxl_rx_intr()
520 if (card->rx_skbs[i]) { in wanxl_pci_remove_one()
524 dev_kfree_skb(card->rx_skbs[i]); in wanxl_pci_remove_one()
700 card->rx_skbs[i] = skb; in wanxl_pci_init_one()
/linux-6.6.21/drivers/net/ethernet/sun/
Dsunbmac.c198 if (bp->rx_skbs[i] != NULL) { in bigmac_clean_rings()
199 dev_kfree_skb_any(bp->rx_skbs[i]); in bigmac_clean_rings()
200 bp->rx_skbs[i] = NULL; in bigmac_clean_rings()
234 bp->rx_skbs[i] = skb; in bigmac_init_rings()
823 skb = bp->rx_skbs[elem]; in bigmac_rx()
837 bp->rx_skbs[elem] = new_skb; in bigmac_rx()
Dsunbmac.h299 struct sk_buff *rx_skbs[RX_RING_SIZE]; member
Dsungem.c421 if (gp->rx_skbs[i] == NULL) { in gem_rxmac_reset()
788 skb = gp->rx_skbs[entry]; in gem_rx()
815 gp->rx_skbs[entry] = new_skb; in gem_rx()
1577 if (gp->rx_skbs[i] != NULL) { in gem_clean_rings()
1578 skb = gp->rx_skbs[i]; in gem_clean_rings()
1584 gp->rx_skbs[i] = NULL; in gem_clean_rings()
1641 gp->rx_skbs[i] = skb; in gem_init_rings()
Dsunhme.h417 struct sk_buff *rx_skbs[RX_RING_SIZE]; member
Dsunhme.c1162 if (hp->rx_skbs[i] != NULL) { in happy_meal_clean_rings()
1163 struct sk_buff *skb = hp->rx_skbs[i]; in happy_meal_clean_rings()
1172 hp->rx_skbs[i] = NULL; in happy_meal_clean_rings()
1231 hp->rx_skbs[i] = skb; in happy_meal_init_rings()
1793 skb = hp->rx_skbs[elem]; in happy_meal_rx()
1815 hp->rx_skbs[elem] = new_skb; in happy_meal_rx()
Dsungem.h1014 struct sk_buff *rx_skbs[RX_RING_SIZE]; member
/linux-6.6.21/drivers/net/ethernet/faraday/
Dftgmac100.c62 struct sk_buff **rx_skbs; member
415 priv->rx_skbs[entry] = skb; in ftgmac100_alloc_rx_buf()
508 skb = priv->rx_skbs[pointer]; in ftgmac100_rx_packet()
869 struct sk_buff *skb = priv->rx_skbs[i]; in ftgmac100_free_buffers()
875 priv->rx_skbs[i] = NULL; in ftgmac100_free_buffers()
895 kfree(priv->rx_skbs); in ftgmac100_free_rings()
920 priv->rx_skbs = kcalloc(MAX_RX_QUEUE_ENTRIES, sizeof(void *), in ftgmac100_alloc_rings()
922 if (!priv->rx_skbs) in ftgmac100_alloc_rings()
/linux-6.6.21/drivers/net/wwan/
Dqcom_bam_dmux.c79 struct bam_dmux_skb_dma rx_skbs[BAM_DMUX_NUM_SKB]; member
634 if (!bam_dmux_skb_dma_queue_rx(&dmux->rx_skbs[i], GFP_KERNEL)) in bam_dmux_power_on()
673 bam_dmux_free_skbs(dmux->rx_skbs, DMA_FROM_DEVICE); in bam_dmux_power_off()
811 dmux->rx_skbs[i].dmux = dmux; in bam_dmux_probe()
/linux-6.6.21/drivers/net/
Dxen-netfront.c149 struct sk_buff *rx_skbs[NET_RX_RING_SIZE]; member
222 struct sk_buff *skb = queue->rx_skbs[i]; in xennet_get_rx_skb()
223 queue->rx_skbs[i] = NULL; in xennet_get_rx_skb()
323 BUG_ON(queue->rx_skbs[id]); in xennet_alloc_rx_buffers()
324 queue->rx_skbs[id] = skb; in xennet_alloc_rx_buffers()
917 BUG_ON(queue->rx_skbs[new]); in xennet_move_rx_slot()
918 queue->rx_skbs[new] = skb; in xennet_move_rx_slot()
1448 skb = queue->rx_skbs[id]; in xennet_release_rx_bufs()
2047 queue->rx_skbs[i] = NULL; in xennet_init_queue()