Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c3406 for (fmt_idx = 0; fmt_idx < nix_hw->mark_format.in_use; fmt_idx++) { in rvu_nix_reserve_mark_format()
3407 if (nix_hw->mark_format.cfg[fmt_idx] == cfg) in rvu_nix_reserve_mark_format()
3410 if (fmt_idx >= nix_hw->mark_format.total) in rvu_nix_reserve_mark_format()
3414 nix_hw->mark_format.cfg[fmt_idx] = cfg; in rvu_nix_reserve_mark_format()
3415 nix_hw->mark_format.in_use++; in rvu_nix_reserve_mark_format()
3437 nix_hw->mark_format.total = (u8)total; in nix_af_mark_format_setup()
3438 nix_hw->mark_format.cfg = devm_kcalloc(rvu->dev, total, sizeof(u32), in nix_af_mark_format_setup()
3440 if (!nix_hw->mark_format.cfg) in nix_af_mark_format_setup()
H A Drvu.h342 struct nix_mark_format mark_format; member