Searched refs:cid_map (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/ |
D | qed_roce.c | 135 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()
|
D | qed_cxt.c | 1039 bitmap_free(p_mngr->acquired[type].cid_map); in qed_cid_map_free() 1044 bitmap_free(p_mngr->acquired_vf[type][vf].cid_map); in qed_cid_map_free() 1060 p_map->cid_map = bitmap_zalloc(cid_count, GFP_KERNEL); in qed_cid_map_alloc_single() 1061 if (!p_map->cid_map) in qed_cid_map_alloc_single() 1222 bitmap_zero(p_map->cid_map, p_map->max_count); in qed_cxt_mngr_setup() 1230 bitmap_zero(p_map->cid_map, p_map->max_count); in qed_cxt_mngr_setup() 1819 if (!p_map->cid_map) { in _qed_cxt_acquire_cid() 1824 rel_cid = find_first_zero_bit(p_map->cid_map, p_map->max_count); in _qed_cxt_acquire_cid() 1831 __set_bit(rel_cid, p_map->cid_map); in _qed_cxt_acquire_cid() 1864 if (!((*pp_map)->cid_map)) in qed_cxt_test_cid_acquired() [all …]
|
D | qed_rdma.h | 68 struct qed_bmap cid_map; member
|
D | qed_cxt.h | 299 unsigned long *cid_map; member
|
D | qed_rdma.c | 241 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()
|
D | qed_iwarp.c | 104 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()
|
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/ |
D | main.c | 1095 u64 *cid_map) in bnxt_re_query_hwrm_pri2cos() argument 1106 if (!cid_map) in bnxt_re_query_hwrm_pri2cos() 1130 tmp_map = (u8 *)cid_map; in bnxt_re_query_hwrm_pri2cos() 1229 static void bnxt_re_parse_cid_map(u8 prio_map, u8 *cid_map, u16 *cosq) in bnxt_re_parse_cid_map() argument 1236 cosq[id] = cid_map[prio]; in bnxt_re_parse_cid_map() 1247 u64 cid_map; in bnxt_re_setup_qos() local 1257 rc = bnxt_re_query_hwrm_pri2cos(rdev, 0, &cid_map); in bnxt_re_setup_qos() 1263 bnxt_re_parse_cid_map(prio_map, (u8 *)&cid_map, rdev->cosq); in bnxt_re_setup_qos()
|