Searched refs:total_tlv_sz (Results 1 – 1 of 1) sorted by relevance
329 static int nfp_add_tlv(u32 type, u32 total_tlv_sz, struct nfp_dump_state *dump) in nfp_add_tlv() argument333 if (total_tlv_sz > dump->buf_size) in nfp_add_tlv()336 if (dump->buf_size - total_tlv_sz < dump->dumped_size) in nfp_add_tlv()340 tl->length = cpu_to_be32(total_tlv_sz - sizeof(*tl)); in nfp_add_tlv()342 dump->dumped_size += total_tlv_sz; in nfp_add_tlv()343 dump->p += total_tlv_sz; in nfp_add_tlv()