Lines Matching refs:pv_cm_id
48 u32 pv_cm_id; member
187 if (!xa_erase(&sriov->pv_id_table, ent->pv_cm_id)) in id_map_ent_timeout()
248 ret = xa_alloc_cyclic(&sriov->pv_id_table, &ent->pv_cm_id, ent, in id_map_alloc()
265 id_map_get(struct ib_device *ibdev, int *pv_cm_id, int slave_id, int sl_cm_id) in id_map_get() argument
271 if (*pv_cm_id == -1) { in id_map_get()
274 *pv_cm_id = (int) ent->pv_cm_id; in id_map_get()
276 ent = xa_load(&sriov->pv_id_table, *pv_cm_id); in id_map_get()
307 int pv_cm_id = -1; in mlx4_ib_multiplex_cm_handler() local
315 id = id_map_get(ibdev, &pv_cm_id, slave_id, sl_cm_id); in mlx4_ib_multiplex_cm_handler()
329 id = id_map_get(ibdev, &pv_cm_id, slave_id, sl_cm_id); in mlx4_ib_multiplex_cm_handler()
339 set_local_comm_id(mad, id->pv_cm_id); in mlx4_ib_multiplex_cm_handler()
431 u32 pv_cm_id; in mlx4_ib_demux_cm_handler() local
459 pv_cm_id = get_remote_comm_id(mad); in mlx4_ib_demux_cm_handler()
460 id = id_map_get(ibdev, (int *)&pv_cm_id, -1, -1); in mlx4_ib_demux_cm_handler()
470 pv_cm_id, be16_to_cpu(mad->mad_hdr.attr_id)); in mlx4_ib_demux_cm_handler()
555 xa_erase(&sriov->pv_id_table, ent->pv_cm_id); in mlx4_ib_cm_paravirt_clean()
571 xa_erase(&sriov->pv_id_table, map->pv_cm_id); in mlx4_ib_cm_paravirt_clean()