Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_debugdump.c302 struct nfp_level_size *lev_sz = param; in nfp_calc_specific_level_size() local
304 if (dump_level->type != lev_sz->requested_level) in nfp_calc_specific_level_size()
309 &lev_sz->total_size, nfp_add_tlv_size); in nfp_calc_specific_level_size()
315 struct nfp_level_size lev_sz; in nfp_net_dump_calculate_size() local
318 lev_sz.requested_level = cpu_to_be32(flag); in nfp_net_dump_calculate_size()
319 lev_sz.total_size = ALIGN8(sizeof(struct nfp_dump_prolog)); in nfp_net_dump_calculate_size()
321 err = nfp_traverse_tlvs(pf, spec->data, spec->size, &lev_sz, in nfp_net_dump_calculate_size()
326 return lev_sz.total_size; in nfp_net_dump_calculate_size()