Searched refs:lap_msg (Results 1 - 2 of 2) sorted by relevance
/drivers/infiniband/core/ |
H A D | cm_msgs.h | 687 static inline __be32 cm_lap_get_remote_qpn(struct cm_lap_msg *lap_msg) argument 689 return cpu_to_be32(be32_to_cpu(lap_msg->offset12) >> 8); 692 static inline void cm_lap_set_remote_qpn(struct cm_lap_msg *lap_msg, __be32 qpn) argument 694 lap_msg->offset12 = cpu_to_be32((be32_to_cpu(qpn) << 8) | 695 (be32_to_cpu(lap_msg->offset12) & 699 static inline u8 cm_lap_get_remote_resp_timeout(struct cm_lap_msg *lap_msg) argument 701 return (u8) ((be32_to_cpu(lap_msg->offset12) & 0xF8) >> 3); 704 static inline void cm_lap_set_remote_resp_timeout(struct cm_lap_msg *lap_msg, argument 707 lap_msg->offset12 = cpu_to_be32((resp_timeout << 3) | 708 (be32_to_cpu(lap_msg 712 cm_lap_get_flow_label(struct cm_lap_msg *lap_msg) argument 717 cm_lap_set_flow_label(struct cm_lap_msg *lap_msg, __be32 flow_label) argument 725 cm_lap_get_traffic_class(struct cm_lap_msg *lap_msg) argument 730 cm_lap_set_traffic_class(struct cm_lap_msg *lap_msg, u8 traffic_class) argument 738 cm_lap_get_packet_rate(struct cm_lap_msg *lap_msg) argument 743 cm_lap_set_packet_rate(struct cm_lap_msg *lap_msg, u8 packet_rate) argument 749 cm_lap_get_sl(struct cm_lap_msg *lap_msg) argument 754 cm_lap_set_sl(struct cm_lap_msg *lap_msg, u8 sl) argument 759 cm_lap_get_subnet_local(struct cm_lap_msg *lap_msg) argument 764 cm_lap_set_subnet_local(struct cm_lap_msg *lap_msg, u8 subnet_local) argument 770 cm_lap_get_local_ack_timeout(struct cm_lap_msg *lap_msg) argument 775 cm_lap_set_local_ack_timeout(struct cm_lap_msg *lap_msg, u8 local_ack_timeout) argument [all...] |
H A D | cm.c | 2578 static void cm_format_lap(struct cm_lap_msg *lap_msg, argument 2584 cm_format_mad_hdr(&lap_msg->hdr, CM_LAP_ATTR_ID, 2586 lap_msg->local_comm_id = cm_id_priv->id.local_id; 2587 lap_msg->remote_comm_id = cm_id_priv->id.remote_id; 2588 cm_lap_set_remote_qpn(lap_msg, cm_id_priv->remote_qpn); 2590 cm_lap_set_remote_resp_timeout(lap_msg, 0x1F); 2591 lap_msg->alt_local_lid = alternate_path->slid; 2592 lap_msg->alt_remote_lid = alternate_path->dlid; 2593 lap_msg->alt_local_gid = alternate_path->sgid; 2594 lap_msg 2662 cm_format_path_from_lap(struct cm_id_private *cm_id_priv, struct ib_sa_path_rec *path, struct cm_lap_msg *lap_msg) argument 2689 struct cm_lap_msg *lap_msg; local [all...] |
Completed in 168 milliseconds