Lines Matching refs:mpalen
943 int mpalen, wrlen, ret; in send_mpa_req() local
951 mpalen = sizeof(*mpa) + ep->plen; in send_mpa_req()
953 mpalen += sizeof(struct mpa_v2_conn_params); in send_mpa_req()
954 wrlen = roundup(mpalen + sizeof(*req), 16); in send_mpa_req()
966 FW_WR_IMMDLEN_V(mpalen)); in send_mpa_req()
970 req->plen = cpu_to_be32(mpalen); in send_mpa_req()
1041 ep->snd_seq += mpalen; in send_mpa_req()
1047 int mpalen, wrlen; in send_mpa_reject() local
1056 mpalen = sizeof(*mpa) + plen; in send_mpa_reject()
1058 mpalen += sizeof(struct mpa_v2_conn_params); in send_mpa_reject()
1059 wrlen = roundup(mpalen + sizeof(*req), 16); in send_mpa_reject()
1072 FW_WR_IMMDLEN_V(mpalen)); in send_mpa_reject()
1076 req->plen = cpu_to_be32(mpalen); in send_mpa_reject()
1121 ep->snd_seq += mpalen; in send_mpa_reject()
1127 int mpalen, wrlen; in send_mpa_reply() local
1136 mpalen = sizeof(*mpa) + plen; in send_mpa_reply()
1138 mpalen += sizeof(struct mpa_v2_conn_params); in send_mpa_reply()
1139 wrlen = roundup(mpalen + sizeof(*req), 16); in send_mpa_reply()
1152 FW_WR_IMMDLEN_V(mpalen)); in send_mpa_reply()
1156 req->plen = cpu_to_be32(mpalen); in send_mpa_reply()
1210 ep->snd_seq += mpalen; in send_mpa_reply()