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

/linux-4.1.27/drivers/net/ethernet/
H A Djme.c733 struct jme_buffer_info *rxbi = rxring->bufinf; jme_set_clean_rxdesc() local
735 rxbi += i; jme_set_clean_rxdesc()
739 rxdesc->desc1.bufaddrh = cpu_to_le32((__u64)rxbi->mapping >> 32); jme_set_clean_rxdesc()
741 (__u64)rxbi->mapping & 0xFFFFFFFFUL); jme_set_clean_rxdesc()
742 rxdesc->desc1.datalen = cpu_to_le16(rxbi->len); jme_set_clean_rxdesc()
753 struct jme_buffer_info *rxbi = rxring->bufinf + i; jme_make_new_rx_buf() local
770 if (likely(rxbi->mapping)) jme_make_new_rx_buf()
771 pci_unmap_page(jme->pdev, rxbi->mapping, jme_make_new_rx_buf()
772 rxbi->len, PCI_DMA_FROMDEVICE); jme_make_new_rx_buf()
774 rxbi->skb = skb; jme_make_new_rx_buf()
775 rxbi->len = skb_tailroom(skb); jme_make_new_rx_buf()
776 rxbi->mapping = mapping; jme_make_new_rx_buf()
784 struct jme_buffer_info *rxbi = rxring->bufinf; jme_free_rx_buf() local
785 rxbi += i; jme_free_rx_buf()
787 if (rxbi->skb) { jme_free_rx_buf()
789 rxbi->mapping, jme_free_rx_buf()
790 rxbi->len, jme_free_rx_buf()
792 dev_kfree_skb(rxbi->skb); jme_free_rx_buf()
793 rxbi->skb = NULL; jme_free_rx_buf()
794 rxbi->mapping = 0; jme_free_rx_buf()
795 rxbi->len = 0; jme_free_rx_buf()
1026 struct jme_buffer_info *rxbi = rxring->bufinf; jme_alloc_and_feed_skb() local
1031 rxbi += idx; jme_alloc_and_feed_skb()
1033 skb = rxbi->skb; jme_alloc_and_feed_skb()
1035 rxbi->mapping, jme_alloc_and_feed_skb()
1036 rxbi->len, jme_alloc_and_feed_skb()
1041 rxbi->mapping, jme_alloc_and_feed_skb()
1042 rxbi->len, jme_alloc_and_feed_skb()

Completed in 101 milliseconds