Home
last modified time | relevance | path

Searched refs:mpa_v2_params (Results 1 – 2 of 2) sorted by relevance

/drivers/infiniband/hw/cxgb4/
Dcm.c946 struct mpa_v2_conn_params mpa_v2_params; in send_mpa_req() local
1003 mpa_v2_params.ird = htons((u16)ep->ird); in send_mpa_req()
1004 mpa_v2_params.ord = htons((u16)ep->ord); in send_mpa_req()
1007 mpa_v2_params.ird |= htons(MPA_V2_PEER2PEER_MODEL); in send_mpa_req()
1009 mpa_v2_params.ord |= in send_mpa_req()
1012 mpa_v2_params.ord |= in send_mpa_req()
1015 memcpy(mpa->private_data, &mpa_v2_params, in send_mpa_req()
1051 struct mpa_v2_conn_params mpa_v2_params; in send_mpa_reject() local
1093 mpa_v2_params.ird = htons(((u16)ep->ird) | in send_mpa_reject()
1096 mpa_v2_params.ord = htons(((u16)ep->ord) | (peer2peer ? in send_mpa_reject()
[all …]
/drivers/net/ethernet/qlogic/qed/
Dqed_iwarp.c943 struct mpa_v2_hdr *mpa_v2_params; in qed_iwarp_parse_private_data() local
950 mpa_v2_params = in qed_iwarp_parse_private_data()
952 mpa_data_size = sizeof(*mpa_v2_params); in qed_iwarp_parse_private_data()
953 mpa_ird = ntohs(mpa_v2_params->ird); in qed_iwarp_parse_private_data()
954 mpa_ord = ntohs(mpa_v2_params->ord); in qed_iwarp_parse_private_data()
1110 struct mpa_v2_hdr *mpa_v2_params; in qed_iwarp_mpa_v2_set_private() local
1115 mpa_v2_params = in qed_iwarp_mpa_v2_set_private()
1117 *mpa_data_size = sizeof(*mpa_v2_params); in qed_iwarp_mpa_v2_set_private()
1135 mpa_v2_params->ird = htons(mpa_ird); in qed_iwarp_mpa_v2_set_private()
1136 mpa_v2_params->ord = htons(mpa_ord); in qed_iwarp_mpa_v2_set_private()
[all …]