Searched refs:cid_map (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/net/ethernet/qlogic/qed/ |
A 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()
|
A D | qed_cxt.c | 1039 kfree(p_mngr->acquired[type].cid_map); in qed_cid_map_free() 1044 kfree(p_mngr->acquired_vf[type][vf].cid_map); in qed_cid_map_free() 1065 p_map->cid_map = kzalloc(size, GFP_KERNEL); in qed_cid_map_alloc_single() 1066 if (!p_map->cid_map) in qed_cid_map_alloc_single() 1232 memset(p_map->cid_map, 0, len); in qed_cxt_mngr_setup() 1244 memset(p_map->cid_map, 0, len); in qed_cxt_mngr_setup() 1833 if (!p_map->cid_map) { in _qed_cxt_acquire_cid() 1845 __set_bit(rel_cid, p_map->cid_map); in _qed_cxt_acquire_cid() 1878 if (!((*pp_map)->cid_map)) in qed_cxt_test_cid_acquired() 1891 if (!test_bit(rel_cid, (*pp_map)->cid_map)) { in qed_cxt_test_cid_acquired() [all …]
|
A D | qed_rdma.h | 68 struct qed_bmap cid_map; member
|
A D | qed_cxt.h | 299 unsigned long *cid_map; member
|
A D | qed_rdma.c | 242 rc = qed_rdma_bmap_alloc(p_hwfn, &p_rdma_info->cid_map, num_cons, in qed_rdma_alloc() 298 kfree(p_rdma_info->cid_map.bitmap); in qed_rdma_alloc() 374 qed_rdma_bmap_free(p_hwfn, &p_hwfn->p_rdma_info->cid_map, 1); in qed_rdma_resc_free() 1877 if (!p_hwfn->p_rdma_info->cid_map.bitmap) in qed_rdma_allocated_qps() 1880 result = !qed_bmap_is_empty(&p_hwfn->p_rdma_info->cid_map); in qed_rdma_allocated_qps()
|
A 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/drivers/infiniband/hw/bnxt_re/ |
A D | main.c | 1096 u64 *cid_map) in bnxt_re_query_hwrm_pri2cos() argument 1107 if (!cid_map) in bnxt_re_query_hwrm_pri2cos() 1131 tmp_map = (u8 *)cid_map; in bnxt_re_query_hwrm_pri2cos() 1230 static void bnxt_re_parse_cid_map(u8 prio_map, u8 *cid_map, u16 *cosq) in bnxt_re_parse_cid_map() argument 1237 cosq[id] = cid_map[prio]; in bnxt_re_parse_cid_map() 1248 u64 cid_map; in bnxt_re_setup_qos() local 1258 rc = bnxt_re_query_hwrm_pri2cos(rdev, 0, &cid_map); in bnxt_re_setup_qos() 1264 bnxt_re_parse_cid_map(prio_map, (u8 *)&cid_map, rdev->cosq); in bnxt_re_setup_qos()
|
Completed in 27 milliseconds