Lines Matching refs:pkt_info
505 struct xlgmac_pkt_info *pkt_info; in xlgmac_map_tx_skb() local
515 pkt_info = &ring->pkt_info; in xlgmac_map_tx_skb()
516 pkt_info->desc_count = 0; in xlgmac_map_tx_skb()
517 pkt_info->length = 0; in xlgmac_map_tx_skb()
519 tso = XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_map_tx_skb()
522 vlan = XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_map_tx_skb()
527 if ((tso && (pkt_info->mss != ring->tx.cur_mss)) || in xlgmac_map_tx_skb()
528 (vlan && (pkt_info->vlan_ctag != ring->tx.cur_vlan_ctag))) in xlgmac_map_tx_skb()
535 pkt_info->header_len, DMA_TO_DEVICE); in xlgmac_map_tx_skb()
541 desc_data->skb_dma_len = pkt_info->header_len; in xlgmac_map_tx_skb()
544 cur_index, &skb_dma, pkt_info->header_len); in xlgmac_map_tx_skb()
546 offset = pkt_info->header_len; in xlgmac_map_tx_skb()
548 pkt_info->length += pkt_info->header_len; in xlgmac_map_tx_skb()
573 pkt_info->length += len; in xlgmac_map_tx_skb()
607 pkt_info->length += len; in xlgmac_map_tx_skb()
622 pkt_info->desc_count = cur_index - start_index; in xlgmac_map_tx_skb()
624 return pkt_info->desc_count; in xlgmac_map_tx_skb()