Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/qede/base/
H A Decore_hw.c51 sizeof(*p_pool)); in ecore_ptt_pool_alloc()
54 if (!p_pool) in ecore_ptt_pool_alloc()
57 OSAL_LIST_INIT(&p_pool->free_list); in ecore_ptt_pool_alloc()
59 p_pool->ptts[i].idx = i; in ecore_ptt_pool_alloc()
61 p_pool->ptts[i].pxp.pretend.control = 0; in ecore_ptt_pool_alloc()
62 p_pool->ptts[i].hwfn_id = p_hwfn->my_id; in ecore_ptt_pool_alloc()
68 OSAL_LIST_PUSH_HEAD(&p_pool->ptts[i].list_entry, in ecore_ptt_pool_alloc()
69 &p_pool->free_list); in ecore_ptt_pool_alloc()
72 p_hwfn->p_ptt_pool = p_pool; in ecore_ptt_pool_alloc()
74 if (OSAL_SPIN_LOCK_ALLOC(p_hwfn, &p_pool->lock)) { in ecore_ptt_pool_alloc()
[all …]