Lines Matching refs:first
3279 struct ixgbevf_tx_buffer *first, in ixgbevf_tso() argument
3282 struct sk_buff *skb = first->skb; in ixgbevf_tso()
3300 if (first->protocol == htons(ETH_P_IP)) { in ixgbevf_tso()
3310 first->tx_flags |= IXGBE_TX_FLAGS_TSO | in ixgbevf_tso()
3319 first->tx_flags |= IXGBE_TX_FLAGS_TSO | in ixgbevf_tso()
3329 first->gso_segs = skb_shinfo(skb)->gso_segs; in ixgbevf_tso()
3330 first->bytecount += (first->gso_segs - 1) * *hdr_len; in ixgbevf_tso()
3340 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tso()
3349 struct ixgbevf_tx_buffer *first) in ixgbevf_tx_csum() argument
3351 struct sk_buff *skb = first->skb; in ixgbevf_tx_csum()
3359 switch (first->protocol) { in ixgbevf_tx_csum()
3373 first->protocol); in ixgbevf_tx_csum()
3403 first->tx_flags |= IXGBE_TX_FLAGS_CSUM; in ixgbevf_tx_csum()
3408 vlan_macip_lens |= first->tx_flags & IXGBE_TX_FLAGS_VLAN_MASK; in ixgbevf_tx_csum()
3458 struct ixgbevf_tx_buffer *first, in ixgbevf_tx_map() argument
3462 struct sk_buff *skb = first->skb; in ixgbevf_tx_map()
3469 u32 tx_flags = first->tx_flags; in ixgbevf_tx_map()
3483 dma_unmap_len_set(first, len, size); in ixgbevf_tx_map()
3484 dma_unmap_addr_set(first, dma, dma); in ixgbevf_tx_map()
3542 first->time_stamp = jiffies; in ixgbevf_tx_map()
3554 first->next_to_watch = tx_desc; in ixgbevf_tx_map()
3573 if (tx_buffer == first) in ixgbevf_tx_map()
3615 struct ixgbevf_tx_buffer *first; in ixgbevf_xmit_frame() local
3651 first = &tx_ring->tx_buffer_info[tx_ring->next_to_use]; in ixgbevf_xmit_frame()
3652 first->skb = skb; in ixgbevf_xmit_frame()
3653 first->bytecount = skb->len; in ixgbevf_xmit_frame()
3654 first->gso_segs = 1; in ixgbevf_xmit_frame()
3663 first->tx_flags = tx_flags; in ixgbevf_xmit_frame()
3664 first->protocol = vlan_get_protocol(skb); in ixgbevf_xmit_frame()
3666 tso = ixgbevf_tso(tx_ring, first, &hdr_len); in ixgbevf_xmit_frame()
3670 ixgbevf_tx_csum(tx_ring, first); in ixgbevf_xmit_frame()
3672 ixgbevf_tx_map(tx_ring, first, hdr_len); in ixgbevf_xmit_frame()
3679 dev_kfree_skb_any(first->skb); in ixgbevf_xmit_frame()
3680 first->skb = NULL; in ixgbevf_xmit_frame()