Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmetadata.c47 if (!CIRC_SPACE(ring->head, ring->tail, priv->stats_ring_size)) in nfp_release_stats_entry()
53 ring->head = (ring->head + 1) & (priv->stats_ring_size - 1); in nfp_release_stats_entry()
65 freed_stats_id = priv->stats_ring_size; in nfp_get_stats_entry()
95 ring->tail = (ring->tail + 1) & (priv->stats_ring_size - 1); in nfp_get_stats_entry()
568 priv->stats_ring_size)); in nfp_flower_metadata_init()
H A Dmain.h312 u32 stats_ring_size; member
H A Dmain.c815 app_priv->stats_ring_size = roundup_pow_of_two(ctx_count); in nfp_flower_init()