nfp_dump_tl
typedef int (*nfp_tlv_visit)(struct nfp_pf *pf, struct nfp_dump_tl *tl,
struct nfp_dump_tl *tl;
static int nfp_dump_error_tlv_size(struct nfp_dump_tl *spec)
return sizeof(struct nfp_dump_tl) + ALIGN8(fwname_len + 1);
static int nfp_calc_hwinfo_field_sz(struct nfp_pf *pf, struct nfp_dump_tl *spec)
return sizeof(struct nfp_dump_tl) + ALIGN8(key_len + strlen(value) + 2);
nfp_calc_rtsym_dump_sz(struct nfp_pf *pf, struct nfp_dump_tl *spec)
nfp_add_tlv_size(struct nfp_pf *pf, struct nfp_dump_tl *tl, void *param)
*size += sizeof(struct nfp_dump_tl) + ALIGN8(hwinfo_size);
nfp_calc_specific_level_size(struct nfp_pf *pf, struct nfp_dump_tl *dump_level,
struct nfp_dump_tl *tl = dump->p;
nfp_dump_error_tlv(struct nfp_dump_tl *spec, int error,
struct nfp_dump_tl *dump_header = dump->p;
nfp_dump_hwinfo(struct nfp_pf *pf, struct nfp_dump_tl *spec,
struct nfp_dump_tl *dump_header = dump->p;
static int nfp_dump_hwinfo_field(struct nfp_pf *pf, struct nfp_dump_tl *spec,
struct nfp_dump_tl *dump_header = dump->p;
static_assert(offsetof(struct nfp_dump_tl, data) == sizeof(struct nfp_dump_tl_hdr),
struct nfp_dump_tl *spec_csr_tl =
container_of(&spec_csr->tl, struct nfp_dump_tl, hdr);
struct nfp_dump_tl *spec_csr_tl =
container_of(&spec_csr->tl, struct nfp_dump_tl, hdr);
struct nfp_dump_tl *spec_tl =
container_of(&spec->tl, struct nfp_dump_tl, hdr);
nfp_dump_for_tlv(struct nfp_pf *pf, struct nfp_dump_tl *tl, void *param)
nfp_dump_specific_level(struct nfp_pf *pf, struct nfp_dump_tl *dump_level,