Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_roce.c135 qed_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->cid_map, cid); in qed_roce_free_cid_pair()
136 qed_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->cid_map, cid + 1); in qed_roce_free_cid_pair()
148 rc = qed_rdma_bmap_alloc_id(p_hwfn, &p_rdma_info->cid_map, in qed_roce_alloc_cid()
155 rc = qed_rdma_bmap_alloc_id(p_hwfn, &p_rdma_info->cid_map, in qed_roce_alloc_cid()
190 qed_bmap_release_id(p_hwfn, &p_rdma_info->cid_map, responder_icid); in qed_roce_alloc_cid()
191 qed_bmap_release_id(p_hwfn, &p_rdma_info->cid_map, requester_icid); in qed_roce_alloc_cid()
1097 qed_bmap_release_id(p_hwfn, &p_rdma_info->cid_map, cid); in qed_roce_free_real_icid()
1098 qed_bmap_release_id(p_hwfn, &p_rdma_info->cid_map, xcid); in qed_roce_free_real_icid()
H A Dqed_cxt.c1040 bitmap_free(p_mngr->acquired[type].cid_map); in qed_cid_map_free()
1045 bitmap_free(p_mngr->acquired_vf[type][vf].cid_map); in qed_cid_map_free()
1061 p_map->cid_map = bitmap_zalloc(cid_count, GFP_KERNEL); in qed_cid_map_alloc_single()
1062 if (!p_map->cid_map) in qed_cid_map_alloc_single()
1223 bitmap_zero(p_map->cid_map, p_map->max_count); in qed_cxt_mngr_setup()
1231 bitmap_zero(p_map->cid_map, p_map->max_count); in qed_cxt_mngr_setup()
1820 if (!p_map->cid_map) { in _qed_cxt_acquire_cid()
1825 rel_cid = find_first_zero_bit(p_map->cid_map, p_map->max_count); in _qed_cxt_acquire_cid()
1832 __set_bit(rel_cid, p_map->cid_map); in _qed_cxt_acquire_cid()
1865 if (!((*pp_map)->cid_map)) in qed_cxt_test_cid_acquired()
[all …]
H A Dqed_rdma.h68 struct qed_bmap cid_map; member
H A Dqed_cxt.h299 unsigned long *cid_map; member
H A Dqed_rdma.c241 rc = qed_rdma_bmap_alloc(p_hwfn, &p_rdma_info->cid_map, num_cons, in qed_rdma_alloc()
297 kfree(p_rdma_info->cid_map.bitmap); in qed_rdma_alloc()
356 qed_rdma_bmap_free(p_hwfn, &p_hwfn->p_rdma_info->cid_map, 1); in qed_rdma_resc_free()
1859 if (!p_hwfn->p_rdma_info->cid_map.bitmap) in qed_rdma_allocated_qps()
1862 result = !qed_bmap_is_empty(&p_hwfn->p_rdma_info->cid_map); in qed_rdma_allocated_qps()
H A Dqed_iwarp.c104 qed_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->cid_map, cid); in qed_iwarp_cid_cleaned()
129 rc = qed_rdma_bmap_alloc_id(p_hwfn, &p_hwfn->p_rdma_info->cid_map, cid); in qed_iwarp_alloc_cid()
1343 qed_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->cid_map, i); in qed_iwarp_wait_for_all_cids()
1347 &p_hwfn->p_rdma_info->cid_map); in qed_iwarp_wait_for_all_cids()