Home
last modified time | relevance | path

Searched refs:seg_desc (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/google/gve/
Dgve_tx.c382 static void gve_tx_fill_seg_desc(union gve_tx_desc *seg_desc, in gve_tx_fill_seg_desc() argument
386 seg_desc->seg.type_flags = GVE_TXD_SEG; in gve_tx_fill_seg_desc()
389 seg_desc->seg.type_flags |= GVE_TXSF_IPV6; in gve_tx_fill_seg_desc()
390 seg_desc->seg.l3_offset = skb_network_offset(skb) >> 1; in gve_tx_fill_seg_desc()
391 seg_desc->seg.mss = cpu_to_be16(skb_shinfo(skb)->gso_size); in gve_tx_fill_seg_desc()
393 seg_desc->seg.seg_len = cpu_to_be16(len); in gve_tx_fill_seg_desc()
394 seg_desc->seg.seg_addr = cpu_to_be64(addr); in gve_tx_fill_seg_desc()
415 union gve_tx_desc *pkt_desc, *seg_desc; in gve_tx_add_skb() local
461 seg_desc = &tx->desc[next_idx]; in gve_tx_add_skb()
463 gve_tx_fill_seg_desc(seg_desc, skb, is_gso, in gve_tx_add_skb()
/drivers/target/
Dtarget_core_xcopy.c801 unsigned char *p = NULL, *seg_desc; in target_parse_xcopy_cmd() local
850 seg_desc = &p[16] + tdll; in target_parse_xcopy_cmd()
852 rc = target_xcopy_parse_segment_descriptors(se_cmd, xop, seg_desc, in target_parse_xcopy_cmd()