• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/ixgbe/

Lines Matching defs:tx_buffer_info

310 	struct ixgbe_tx_buffer *tx_buffer_info;
351 tx_buffer_info =
352 &tx_ring->tx_buffer_info[tx_ring->next_to_clean];
355 (u64)tx_buffer_info->dma,
356 tx_buffer_info->length,
357 tx_buffer_info->next_to_watch,
358 (u64)tx_buffer_info->time_stamp);
389 tx_buffer_info = &tx_ring->tx_buffer_info[i];
395 (u64)tx_buffer_info->dma,
396 tx_buffer_info->length,
397 tx_buffer_info->next_to_watch,
398 (u64)tx_buffer_info->time_stamp,
399 tx_buffer_info->skb);
411 tx_buffer_info->dma != 0)
414 phys_to_virt(tx_buffer_info->dma),
415 tx_buffer_info->length, true);
606 *tx_buffer_info)
608 if (tx_buffer_info->dma) {
609 if (tx_buffer_info->mapped_as_page)
611 tx_buffer_info->dma,
612 tx_buffer_info->length,
616 tx_buffer_info->dma,
617 tx_buffer_info->length,
619 tx_buffer_info->dma = 0;
621 if (tx_buffer_info->skb) {
622 dev_kfree_skb_any(tx_buffer_info->skb);
623 tx_buffer_info->skb = NULL;
625 tx_buffer_info->time_stamp = 0;
626 /* tx_buffer_info must be completely set up in the transmit path */
693 if (tx_ring->tx_buffer_info[eop].time_stamp &&
694 time_after(jiffies, tx_ring->tx_buffer_info[eop].time_stamp + HZ) &&
704 "tx_buffer_info[next_to_clean]\n"
711 tx_ring->tx_buffer_info[eop].time_stamp, jiffies);
740 struct ixgbe_tx_buffer *tx_buffer_info;
745 eop = tx_ring->tx_buffer_info[i].next_to_watch;
755 tx_buffer_info = &tx_ring->tx_buffer_info[i];
757 skb = tx_buffer_info->skb;
784 tx_buffer_info);
793 eop = tx_ring->tx_buffer_info[i].next_to_watch;
3676 struct ixgbe_tx_buffer *tx_buffer_info;
3683 tx_buffer_info = &tx_ring->tx_buffer_info[i];
3684 ixgbe_unmap_and_free_tx_resource(adapter, tx_buffer_info);
3688 memset(tx_ring->tx_buffer_info, 0, size);
4864 tx_ring->tx_buffer_info = vmalloc_node(size, tx_ring->numa_node);
4865 if (!tx_ring->tx_buffer_info)
4866 tx_ring->tx_buffer_info = vmalloc(size);
4867 if (!tx_ring->tx_buffer_info)
4869 memset(tx_ring->tx_buffer_info, 0, size);
4886 vfree(tx_ring->tx_buffer_info);
4887 tx_ring->tx_buffer_info = NULL;
5004 vfree(tx_ring->tx_buffer_info);
5005 tx_ring->tx_buffer_info = NULL;
5721 struct ixgbe_tx_buffer *tx_buffer_info;
5752 tx_buffer_info = &tx_ring->tx_buffer_info[i];
5786 tx_buffer_info->time_stamp = jiffies;
5787 tx_buffer_info->next_to_watch = i;
5805 struct ixgbe_tx_buffer *tx_buffer_info;
5811 tx_buffer_info = &tx_ring->tx_buffer_info[i];
5873 tx_buffer_info->time_stamp = jiffies;
5874 tx_buffer_info->next_to_watch = i;
5893 struct ixgbe_tx_buffer *tx_buffer_info;
5908 tx_buffer_info = &tx_ring->tx_buffer_info[i];
5911 tx_buffer_info->length = size;
5912 tx_buffer_info->mapped_as_page = false;
5913 tx_buffer_info->dma = dma_map_single(&pdev->dev,
5916 if (dma_mapping_error(&pdev->dev, tx_buffer_info->dma))
5918 tx_buffer_info->time_stamp = jiffies;
5919 tx_buffer_info->next_to_watch = i;
5945 tx_buffer_info = &tx_ring->tx_buffer_info[i];
5948 tx_buffer_info->length = size;
5949 tx_buffer_info->dma = dma_map_page(&adapter->pdev->dev,
5953 tx_buffer_info->mapped_as_page = true;
5954 if (dma_mapping_error(&pdev->dev, tx_buffer_info->dma))
5956 tx_buffer_info->time_stamp = jiffies;
5957 tx_buffer_info->next_to_watch = i;
5968 tx_ring->tx_buffer_info[i].skb = skb;
5969 tx_ring->tx_buffer_info[first].next_to_watch = i;
5976 /* clear timestamp and dma mappings for failed tx_buffer_info map */
5977 tx_buffer_info->dma = 0;
5978 tx_buffer_info->time_stamp = 0;
5979 tx_buffer_info->next_to_watch = 0;
5988 tx_buffer_info = &tx_ring->tx_buffer_info[i];
5989 ixgbe_unmap_and_free_tx_resource(adapter, tx_buffer_info);
6000 struct ixgbe_tx_buffer *tx_buffer_info;
6039 tx_buffer_info = &tx_ring->tx_buffer_info[i];
6041 tx_desc->read.buffer_addr = cpu_to_le64(tx_buffer_info->dma);
6043 cpu_to_le32(cmd_type_len | tx_buffer_info->length);
6294 tx_ring->tx_buffer_info[first].time_stamp = 0;