Lines Matching refs:pkt_desc
353 static void gve_tx_fill_pkt_desc(union gve_tx_desc *pkt_desc, in gve_tx_fill_pkt_desc() argument
360 pkt_desc->pkt.type_flags = GVE_TXD_TSO | GVE_TXF_L4CSUM; in gve_tx_fill_pkt_desc()
361 pkt_desc->pkt.l4_csum_offset = skb->csum_offset >> 1; in gve_tx_fill_pkt_desc()
362 pkt_desc->pkt.l4_hdr_offset = l4_hdr_offset >> 1; in gve_tx_fill_pkt_desc()
364 pkt_desc->pkt.type_flags = GVE_TXD_STD | GVE_TXF_L4CSUM; in gve_tx_fill_pkt_desc()
365 pkt_desc->pkt.l4_csum_offset = skb->csum_offset >> 1; in gve_tx_fill_pkt_desc()
366 pkt_desc->pkt.l4_hdr_offset = l4_hdr_offset >> 1; in gve_tx_fill_pkt_desc()
368 pkt_desc->pkt.type_flags = GVE_TXD_STD; in gve_tx_fill_pkt_desc()
369 pkt_desc->pkt.l4_csum_offset = 0; in gve_tx_fill_pkt_desc()
370 pkt_desc->pkt.l4_hdr_offset = 0; in gve_tx_fill_pkt_desc()
372 pkt_desc->pkt.desc_cnt = desc_cnt; in gve_tx_fill_pkt_desc()
373 pkt_desc->pkt.len = cpu_to_be16(skb->len); in gve_tx_fill_pkt_desc()
374 pkt_desc->pkt.seg_len = cpu_to_be16(hlen); in gve_tx_fill_pkt_desc()
375 pkt_desc->pkt.seg_addr = cpu_to_be64(addr); in gve_tx_fill_pkt_desc()
411 union gve_tx_desc *pkt_desc, *seg_desc; in gve_tx_add_skb() local
421 pkt_desc = &tx->desc[idx]; in gve_tx_add_skb()
443 gve_tx_fill_pkt_desc(pkt_desc, skb, is_gso, l4_hdr_offset, in gve_tx_add_skb()