• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/core/

Lines Matching defs:lap_msg

2535 static void cm_format_lap(struct cm_lap_msg *lap_msg,
2541 cm_format_mad_hdr(&lap_msg->hdr, CM_LAP_ATTR_ID,
2543 lap_msg->local_comm_id = cm_id_priv->id.local_id;
2544 lap_msg->remote_comm_id = cm_id_priv->id.remote_id;
2545 cm_lap_set_remote_qpn(lap_msg, cm_id_priv->remote_qpn);
2547 cm_lap_set_remote_resp_timeout(lap_msg, 0x1F);
2548 lap_msg->alt_local_lid = alternate_path->slid;
2549 lap_msg->alt_remote_lid = alternate_path->dlid;
2550 lap_msg->alt_local_gid = alternate_path->sgid;
2551 lap_msg->alt_remote_gid = alternate_path->dgid;
2552 cm_lap_set_flow_label(lap_msg, alternate_path->flow_label);
2553 cm_lap_set_traffic_class(lap_msg, alternate_path->traffic_class);
2554 lap_msg->alt_hop_limit = alternate_path->hop_limit;
2555 cm_lap_set_packet_rate(lap_msg, alternate_path->rate);
2556 cm_lap_set_sl(lap_msg, alternate_path->sl);
2557 cm_lap_set_subnet_local(lap_msg, 1); /* local only... */
2558 cm_lap_set_local_ack_timeout(lap_msg,
2563 memcpy(lap_msg->private_data, private_data, private_data_len);
2621 struct cm_lap_msg *lap_msg)
2624 path->dgid = lap_msg->alt_local_gid;
2625 path->sgid = lap_msg->alt_remote_gid;
2626 path->dlid = lap_msg->alt_local_lid;
2627 path->slid = lap_msg->alt_remote_lid;
2628 path->flow_label = cm_lap_get_flow_label(lap_msg);
2629 path->hop_limit = lap_msg->alt_hop_limit;
2630 path->traffic_class = cm_lap_get_traffic_class(lap_msg);
2633 path->sl = cm_lap_get_sl(lap_msg);
2637 path->rate = cm_lap_get_packet_rate(lap_msg);
2639 path->packet_life_time = cm_lap_get_local_ack_timeout(lap_msg);
2646 struct cm_lap_msg *lap_msg;
2652 lap_msg = (struct cm_lap_msg *)work->mad_recv_wc->recv_buf.mad;
2653 cm_id_priv = cm_acquire_id(lap_msg->remote_comm_id,
2654 lap_msg->local_comm_id);
2660 cm_format_path_from_lap(cm_id_priv, param->alternate_path, lap_msg);
2661 work->cm_event.private_data = &lap_msg->private_data;
2696 cm_id_priv->tid = lap_msg->hdr.tid;