Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c142 ring = &priv->mask_ids.mask_id_free_list; in nfp_release_mask_id()
156 priv->mask_ids.last_used[mask_id] = ktime_get(); in nfp_release_mask_id()
168 ring = &priv->mask_ids.mask_id_free_list; in nfp_mask_alloc()
171 if (priv->mask_ids.init_unallocated > 0) { in nfp_mask_alloc()
172 *mask_id = priv->mask_ids.init_unallocated; in nfp_mask_alloc()
173 priv->mask_ids.init_unallocated--; in nfp_mask_alloc()
188 reuse_timeout = ktime_add_ns(priv->mask_ids.last_used[*mask_id], in nfp_mask_alloc()
550 priv->mask_ids.mask_id_free_list.buf = in nfp_flower_metadata_init()
553 if (!priv->mask_ids.mask_id_free_list.buf) in nfp_flower_metadata_init()
556 priv->mask_ids.init_unallocated = NFP_FLOWER_MASK_ENTRY_RS - 1; in nfp_flower_metadata_init()
[all …]
Dmain.h294 struct nfp_fl_mask_id mask_ids; member