Searched refs:lev_sz (Results 1 – 1 of 1) sorted by relevance
307 struct nfp_level_size *lev_sz = param; in nfp_calc_specific_level_size() local309 if (dump_level->type != lev_sz->requested_level) in nfp_calc_specific_level_size()314 &lev_sz->total_size, nfp_add_tlv_size); in nfp_calc_specific_level_size()320 struct nfp_level_size lev_sz; in nfp_net_dump_calculate_size() local323 lev_sz.requested_level = cpu_to_be32(flag); in nfp_net_dump_calculate_size()324 lev_sz.total_size = ALIGN8(sizeof(struct nfp_dump_prolog)); in nfp_net_dump_calculate_size()326 err = nfp_traverse_tlvs(pf, spec->data, spec->size, &lev_sz, in nfp_net_dump_calculate_size()331 return lev_sz.total_size; in nfp_net_dump_calculate_size()