• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ixgbevf/

Lines Matching refs:tx_buffer_info

138 					       *tx_buffer_info)
140 if (tx_buffer_info->dma) {
141 if (tx_buffer_info->mapped_as_page)
143 tx_buffer_info->dma,
144 tx_buffer_info->length,
148 tx_buffer_info->dma,
149 tx_buffer_info->length,
151 tx_buffer_info->dma = 0;
153 if (tx_buffer_info->skb) {
154 dev_kfree_skb_any(tx_buffer_info->skb);
155 tx_buffer_info->skb = NULL;
157 tx_buffer_info->time_stamp = 0;
158 /* tx_buffer_info must be completely set up in the transmit path */
174 tx_ring->tx_buffer_info[eop].time_stamp &&
175 time_after(jiffies, tx_ring->tx_buffer_info[eop].time_stamp + HZ)) {
184 "tx_buffer_info[next_to_clean]\n"
190 tx_ring->tx_buffer_info[eop].time_stamp, jiffies);
223 struct ixgbevf_tx_buffer *tx_buffer_info;
228 eop = tx_ring->tx_buffer_info[i].next_to_watch;
238 tx_buffer_info = &tx_ring->tx_buffer_info[i];
240 skb = tx_buffer_info->skb;
255 tx_buffer_info);
264 eop = tx_ring->tx_buffer_info[i].next_to_watch;
1774 struct ixgbevf_tx_buffer *tx_buffer_info;
1778 if (!tx_ring->tx_buffer_info)
1784 tx_buffer_info = &tx_ring->tx_buffer_info[i];
1785 ixgbevf_unmap_and_free_tx_resource(adapter, tx_buffer_info);
1789 memset(tx_ring->tx_buffer_info, 0, size);
2446 vfree(tx_ring->tx_buffer_info);
2447 tx_ring->tx_buffer_info = NULL;
2486 tx_ring->tx_buffer_info = vmalloc(size);
2487 if (!tx_ring->tx_buffer_info)
2489 memset(tx_ring->tx_buffer_info, 0, size);
2506 vfree(tx_ring->tx_buffer_info);
2507 tx_ring->tx_buffer_info = NULL;
2763 struct ixgbevf_tx_buffer *tx_buffer_info;
2796 tx_buffer_info = &tx_ring->tx_buffer_info[i];
2830 tx_buffer_info->time_stamp = jiffies;
2831 tx_buffer_info->next_to_watch = i;
2850 struct ixgbevf_tx_buffer *tx_buffer_info;
2856 tx_buffer_info = &tx_ring->tx_buffer_info[i];
2902 tx_buffer_info->time_stamp = jiffies;
2903 tx_buffer_info->next_to_watch = i;
2923 struct ixgbevf_tx_buffer *tx_buffer_info;
2936 tx_buffer_info = &tx_ring->tx_buffer_info[i];
2939 tx_buffer_info->length = size;
2940 tx_buffer_info->mapped_as_page = false;
2941 tx_buffer_info->dma = dma_map_single(&adapter->pdev->dev,
2944 if (dma_mapping_error(&pdev->dev, tx_buffer_info->dma))
2946 tx_buffer_info->time_stamp = jiffies;
2947 tx_buffer_info->next_to_watch = i;
2966 tx_buffer_info = &tx_ring->tx_buffer_info[i];
2969 tx_buffer_info->length = size;
2970 tx_buffer_info->dma = dma_map_page(&adapter->pdev->dev,
2975 tx_buffer_info->mapped_as_page = true;
2976 if (dma_mapping_error(&pdev->dev, tx_buffer_info->dma))
2978 tx_buffer_info->time_stamp = jiffies;
2979 tx_buffer_info->next_to_watch = i;
2997 tx_ring->tx_buffer_info[i].skb = skb;
2998 tx_ring->tx_buffer_info[first].next_to_watch = i;
3005 /* clear timestamp and dma mappings for failed tx_buffer_info map */
3006 tx_buffer_info->dma = 0;
3007 tx_buffer_info->time_stamp = 0;
3008 tx_buffer_info->next_to_watch = 0;
3017 tx_buffer_info = &tx_ring->tx_buffer_info[i];
3018 ixgbevf_unmap_and_free_tx_resource(adapter, tx_buffer_info);
3029 struct ixgbevf_tx_buffer *tx_buffer_info;
3062 tx_buffer_info = &tx_ring->tx_buffer_info[i];
3064 tx_desc->read.buffer_addr = cpu_to_le64(tx_buffer_info->dma);
3066 cpu_to_le32(cmd_type_len | tx_buffer_info->length);