Lines Matching refs:sl_cm_id

47 	u32 sl_cm_id;  member
154 id_map_find_by_sl_id(struct ib_device *ibdev, u32 slave_id, u32 sl_cm_id) in id_map_find_by_sl_id() argument
163 if (id_map_entry->sl_cm_id > sl_cm_id) in id_map_find_by_sl_id()
165 else if (id_map_entry->sl_cm_id < sl_cm_id) in id_map_find_by_sl_id()
189 found_ent = id_map_find_by_sl_id(&dev->ib_dev, ent->slave_id, ent->sl_cm_id); in id_map_ent_timeout()
205 int sl_cm_id = new->sl_cm_id; in sl_id_map_add() local
207 ent = id_map_find_by_sl_id(ibdev, slave_id, sl_cm_id); in sl_id_map_add()
210 sl_cm_id); in sl_id_map_add()
221 if (ent->sl_cm_id > sl_cm_id || (ent->sl_cm_id == sl_cm_id && ent->slave_id > slave_id)) in sl_id_map_add()
232 id_map_alloc(struct ib_device *ibdev, int slave_id, u32 sl_cm_id) in id_map_alloc() argument
242 ent->sl_cm_id = sl_cm_id; 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
272 ent = id_map_find_by_sl_id(ibdev, slave_id, sl_cm_id); in id_map_get()
306 u32 sl_cm_id; in mlx4_ib_multiplex_cm_handler() local
314 sl_cm_id = get_local_comm_id(mad); in mlx4_ib_multiplex_cm_handler()
315 id = id_map_get(ibdev, &pv_cm_id, slave_id, sl_cm_id); in mlx4_ib_multiplex_cm_handler()
318 id = id_map_alloc(ibdev, slave_id, sl_cm_id); in mlx4_ib_multiplex_cm_handler()
321 __func__, slave_id, sl_cm_id); in mlx4_ib_multiplex_cm_handler()
328 sl_cm_id = get_local_comm_id(mad); 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()
334 slave_id, sl_cm_id, be16_to_cpu(mad->mad_hdr.attr_id)); in mlx4_ib_multiplex_cm_handler()
476 set_remote_comm_id(mad, id->sl_cm_id); in mlx4_ib_demux_cm_handler()