Lines Matching refs:iparams
1152 struct qed_iwarp_connect_in *iparams, in qed_iwarp_connect() argument
1162 if ((iparams->cm_info.ord > QED_IWARP_ORD_DEFAULT) || in qed_iwarp_connect()
1163 (iparams->cm_info.ird > QED_IWARP_IRD_DEFAULT)) { in qed_iwarp_connect()
1166 iparams->qp->icid, iparams->cm_info.ord, in qed_iwarp_connect()
1167 iparams->cm_info.ird); in qed_iwarp_connect()
1189 ep->qp = iparams->qp; in qed_iwarp_connect()
1191 ether_addr_copy(ep->remote_mac_addr, iparams->remote_mac_addr); in qed_iwarp_connect()
1192 ether_addr_copy(ep->local_mac_addr, iparams->local_mac_addr); in qed_iwarp_connect()
1193 memcpy(&ep->cm_info, &iparams->cm_info, sizeof(ep->cm_info)); in qed_iwarp_connect()
1195 ep->cm_info.ord = iparams->cm_info.ord; in qed_iwarp_connect()
1196 ep->cm_info.ird = iparams->cm_info.ird; in qed_iwarp_connect()
1210 ep->cm_info.private_data_len = iparams->cm_info.private_data_len + in qed_iwarp_connect()
1214 iparams->cm_info.private_data, in qed_iwarp_connect()
1215 iparams->cm_info.private_data_len); in qed_iwarp_connect()
1217 ep->mss = iparams->mss; in qed_iwarp_connect()
1220 ep->event_cb = iparams->event_cb; in qed_iwarp_connect()
1221 ep->cb_context = iparams->cb_context; in qed_iwarp_connect()
1229 iparams->qp->icid, ep->tcp_cid, rc); in qed_iwarp_connect()
1448 int qed_iwarp_accept(void *rdma_cxt, struct qed_iwarp_accept_in *iparams) in qed_iwarp_accept() argument
1455 ep = iparams->ep_context; in qed_iwarp_accept()
1462 iparams->qp->icid, ep->tcp_cid); in qed_iwarp_accept()
1464 if ((iparams->ord > QED_IWARP_ORD_DEFAULT) || in qed_iwarp_accept()
1465 (iparams->ird > QED_IWARP_IRD_DEFAULT)) { in qed_iwarp_accept()
1469 iparams->qp->icid, in qed_iwarp_accept()
1470 ep->tcp_cid, iparams->ord, iparams->ord); in qed_iwarp_accept()
1476 ep->cb_context = iparams->cb_context; in qed_iwarp_accept()
1477 ep->qp = iparams->qp; in qed_iwarp_accept()
1484 if (iparams->ord > ep->cm_info.ird) in qed_iwarp_accept()
1485 iparams->ord = ep->cm_info.ird; in qed_iwarp_accept()
1488 (iparams->ird == 0)) in qed_iwarp_accept()
1489 iparams->ird = 1; in qed_iwarp_accept()
1493 ep->cm_info.ord = iparams->ord; in qed_iwarp_accept()
1494 ep->cm_info.ird = iparams->ird; in qed_iwarp_accept()
1499 ep->cm_info.private_data_len = iparams->private_data_len + in qed_iwarp_accept()
1503 iparams->private_data, iparams->private_data_len); in qed_iwarp_accept()
1508 iparams->qp, QED_IWARP_QP_STATE_ERROR, 1); in qed_iwarp_accept()
1513 int qed_iwarp_reject(void *rdma_cxt, struct qed_iwarp_reject_in *iparams) in qed_iwarp_reject() argument
1519 ep = iparams->ep_context; in qed_iwarp_reject()
1527 ep->cb_context = iparams->cb_context; in qed_iwarp_reject()
1533 ep->cm_info.private_data_len = iparams->private_data_len + in qed_iwarp_reject()
1537 iparams->private_data, iparams->private_data_len); in qed_iwarp_reject()
3156 struct qed_iwarp_listen_in *iparams, in qed_iwarp_create_listen() argument
3166 listener->ip_version = iparams->ip_version; in qed_iwarp_create_listen()
3167 memcpy(listener->ip_addr, iparams->ip_addr, sizeof(listener->ip_addr)); in qed_iwarp_create_listen()
3168 listener->port = iparams->port; in qed_iwarp_create_listen()
3169 listener->vlan = iparams->vlan; in qed_iwarp_create_listen()
3171 listener->event_cb = iparams->event_cb; in qed_iwarp_create_listen()
3172 listener->cb_context = iparams->cb_context; in qed_iwarp_create_listen()
3173 listener->max_backlog = iparams->max_backlog; in qed_iwarp_create_listen()
3210 int qed_iwarp_send_rtr(void *rdma_cxt, struct qed_iwarp_send_rtr_in *iparams) in qed_iwarp_send_rtr() argument
3219 ep = iparams->ep_context; in qed_iwarp_send_rtr()