Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c144 memcpy(&ring->buf[ring->head], &mask_id, NFP_FLOWER_MASK_ELEMENT_RS); in nfp_release_mask_id()
145 ring->head = (ring->head + NFP_FLOWER_MASK_ELEMENT_RS) % in nfp_release_mask_id()
146 (NFP_FLOWER_MASK_ENTRY_RS * NFP_FLOWER_MASK_ELEMENT_RS); in nfp_release_mask_id()
173 memcpy(&temp_id, &ring->buf[ring->tail], NFP_FLOWER_MASK_ELEMENT_RS); in nfp_mask_alloc()
182 memcpy(&ring->buf[ring->tail], &freed_id, NFP_FLOWER_MASK_ELEMENT_RS); in nfp_mask_alloc()
183 ring->tail = (ring->tail + NFP_FLOWER_MASK_ELEMENT_RS) % in nfp_mask_alloc()
184 (NFP_FLOWER_MASK_ENTRY_RS * NFP_FLOWER_MASK_ELEMENT_RS); in nfp_mask_alloc()
504 NFP_FLOWER_MASK_ELEMENT_RS, GFP_KERNEL); in nfp_flower_metadata_init()
Dmain.h30 #define NFP_FLOWER_MASK_ELEMENT_RS 1 macro