Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/google/gve/
Dgve_tx.c401 static void gve_tx_fill_mtd_desc(union gve_tx_desc *mtd_desc, in gve_tx_fill_mtd_desc() argument
404 BUILD_BUG_ON(sizeof(mtd_desc->mtd) != sizeof(mtd_desc->pkt)); in gve_tx_fill_mtd_desc()
406 mtd_desc->mtd.type_flags = GVE_TXD_MTD | GVE_MTD_SUBTYPE_PATH; in gve_tx_fill_mtd_desc()
407 mtd_desc->mtd.path_state = GVE_MTD_PATH_STATE_DEFAULT | in gve_tx_fill_mtd_desc()
409 mtd_desc->mtd.path_hash = cpu_to_be32(skb->hash); in gve_tx_fill_mtd_desc()
410 mtd_desc->mtd.reserved0 = 0; in gve_tx_fill_mtd_desc()
411 mtd_desc->mtd.reserved1 = 0; in gve_tx_fill_mtd_desc()
518 union gve_tx_desc *pkt_desc, *mtd_desc, *seg_desc; in gve_tx_add_skb_no_copy() local
560 mtd_desc = &tx->desc[idx]; in gve_tx_add_skb_no_copy()
561 gve_tx_fill_mtd_desc(mtd_desc, skb); in gve_tx_add_skb_no_copy()