Lines Matching refs:first

3267 		       struct ixgbevf_tx_buffer *first,  in ixgbevf_tso()  argument
3270 struct sk_buff *skb = first->skb; in ixgbevf_tso()
3288 if (first->protocol == htons(ETH_P_IP)) { in ixgbevf_tso()
3298 first->tx_flags |= IXGBE_TX_FLAGS_TSO | in ixgbevf_tso()
3307 first->tx_flags |= IXGBE_TX_FLAGS_TSO | in ixgbevf_tso()
3317 first->gso_segs = skb_shinfo(skb)->gso_segs; in ixgbevf_tso()
3318 first->bytecount += (first->gso_segs - 1) * *hdr_len; in ixgbevf_tso()
3328 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tso()
3337 struct ixgbevf_tx_buffer *first) in ixgbevf_tx_csum() argument
3339 struct sk_buff *skb = first->skb; in ixgbevf_tx_csum()
3347 switch (first->protocol) { in ixgbevf_tx_csum()
3361 first->protocol); in ixgbevf_tx_csum()
3391 first->tx_flags |= IXGBE_TX_FLAGS_CSUM; in ixgbevf_tx_csum()
3396 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tx_csum()
3446 struct ixgbevf_tx_buffer *first, in ixgbevf_tx_map() argument
3450 struct sk_buff *skb = first->skb; in ixgbevf_tx_map()
3457 u32 tx_flags = first->tx_flags; in ixgbevf_tx_map()
3471 dma_unmap_len_set(first, len, size); in ixgbevf_tx_map()
3472 dma_unmap_addr_set(first, dma, dma); in ixgbevf_tx_map()
3530 first->time_stamp = jiffies; in ixgbevf_tx_map()
3542 first->next_to_watch = tx_desc; in ixgbevf_tx_map()
3561 if (tx_buffer == first) in ixgbevf_tx_map()
3603 struct ixgbevf_tx_buffer *first; in ixgbevf_xmit_frame() local
3639 first = &tx_ring->tx_buffer_info[tx_ring->next_to_use]; in ixgbevf_xmit_frame()
3640 first->skb = skb; in ixgbevf_xmit_frame()
3641 first->bytecount = skb->len; in ixgbevf_xmit_frame()
3642 first->gso_segs = 1; in ixgbevf_xmit_frame()
3651 first->tx_flags = tx_flags; in ixgbevf_xmit_frame()
3652 first->protocol = vlan_get_protocol(skb); in ixgbevf_xmit_frame()
3654 tso = ixgbevf_tso(tx_ring, first, &hdr_len); in ixgbevf_xmit_frame()
3658 ixgbevf_tx_csum(tx_ring, first); in ixgbevf_xmit_frame()
3660 ixgbevf_tx_map(tx_ring, first, hdr_len); in ixgbevf_xmit_frame()
3667 dev_kfree_skb_any(first->skb); in ixgbevf_xmit_frame()
3668 first->skb = NULL; in ixgbevf_xmit_frame()