Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Dnfp_net_debugdump.c334 static int nfp_add_tlv(u32 type, u32 total_tlv_sz, struct nfp_dump_state *dump) in nfp_add_tlv() argument
338 if (total_tlv_sz > dump->buf_size) in nfp_add_tlv()
341 if (dump->buf_size - total_tlv_sz < dump->dumped_size) in nfp_add_tlv()
345 tl->length = cpu_to_be32(total_tlv_sz - sizeof(*tl)); in nfp_add_tlv()
347 dump->dumped_size += total_tlv_sz; in nfp_add_tlv()
348 dump->p += total_tlv_sz; in nfp_add_tlv()