Home
last modified time | relevance | path

Searched refs:cm_node (Results 1 – 8 of 8) sorted by relevance

/drivers/infiniband/hw/irdma/
Dcm.c29 static void irdma_record_ird_ord(struct irdma_cm_node *cm_node, u32 conn_ird, in irdma_record_ird_ord() argument
32 if (conn_ird > cm_node->dev->hw_attrs.max_hw_ird) in irdma_record_ird_ord()
33 conn_ird = cm_node->dev->hw_attrs.max_hw_ird; in irdma_record_ird_ord()
35 if (conn_ord > cm_node->dev->hw_attrs.max_hw_ord) in irdma_record_ird_ord()
36 conn_ord = cm_node->dev->hw_attrs.max_hw_ord; in irdma_record_ird_ord()
37 else if (!conn_ord && cm_node->send_rdma0_op == SEND_RDMA_READ_ZERO) in irdma_record_ird_ord()
39 cm_node->ird_size = conn_ird; in irdma_record_ird_ord()
40 cm_node->ord_size = conn_ord; in irdma_record_ird_ord()
74 static void irdma_get_addr_info(struct irdma_cm_node *cm_node, in irdma_get_addr_info() argument
78 cm_info->ipv4 = cm_node->ipv4; in irdma_get_addr_info()
[all …]
Dtrace_cm.h101 TP_PROTO(struct irdma_cm_node *cm_node),
102 TP_ARGS(cm_node),
103 TP_STRUCT__entry(__field(struct irdma_cm_node *, cm_node)
107 TP_fast_assign(__entry->cm_node = cm_node;
108 __entry->ord_size = cm_node->ord_size;
109 __entry->ird_size = cm_node->ird_size;
112 __entry->cm_node,
201 TP_PROTO(struct irdma_cm_node *cm_node, struct iw_cm_id *cm_id,
203 TP_ARGS(cm_node, cm_id, type, status, caller),
205 __field(struct irdma_cm_node *, cm_node)
[all …]
Dcm.h347 struct irdma_cm_node *cm_node; member
374 struct irdma_puda_buf *(*form_cm_frame)(struct irdma_cm_node *cm_node,
379 int (*cm_create_ah)(struct irdma_cm_node *cm_node, bool wait);
380 void (*cm_free_ah)(struct irdma_cm_node *cm_node);
383 int irdma_schedule_cm_timer(struct irdma_cm_node *cm_node,
412 void irdma_send_ack(struct irdma_cm_node *cm_node);
414 void irdma_rem_ref_cm_node(struct irdma_cm_node *cm_node);
415 void irdma_add_conn_est_qh(struct irdma_cm_node *cm_node);
Dutils.c1253 irdma_send_reset(iwqp->cm_node); in irdma_hw_modify_qp()
1418 struct irdma_cm_node *cm_node; in irdma_ieq_get_qp() local
1437 cm_node = irdma_find_node(&iwdev->cm_core, rem_port, rem_addr, loc_port, in irdma_ieq_get_qp()
1439 if (!cm_node) in irdma_ieq_get_qp()
1442 iwqp = cm_node->iwqp; in irdma_ieq_get_qp()
1443 irdma_rem_ref_cm_node(cm_node); in irdma_ieq_get_qp()
1454 struct irdma_cm_node *cm_node = ((struct irdma_qp *)qp->qp_uk.back_qp)->cm_node; in irdma_send_ieq_ack() local
1458 cm_node->tcp_cntxt.rcv_nxt = qp->pfpdu.nextseqnum; in irdma_send_ieq_ack()
1459 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); in irdma_send_ieq_ack()
1461 irdma_send_ack(cm_node); in irdma_send_ieq_ack()
[all …]
Dhw.c276 struct irdma_cm_node *cm_node; in irdma_process_aeq() local
278 cm_node = iwqp->cm_node; in irdma_process_aeq()
279 if (cm_node->accept_pend) { in irdma_process_aeq()
280 atomic_dec(&cm_node->listener->pend_accepts_cnt); in irdma_process_aeq()
281 cm_node->accept_pend = 0; in irdma_process_aeq()
299 irdma_schedule_cm_timer(iwqp->cm_node, in irdma_process_aeq()
2442 struct irdma_cm_node *cm_node = cqp_request->param; in irdma_send_syn_cqp_callback() local
2444 irdma_send_syn(cm_node, 1); in irdma_send_syn_cqp_callback()
2445 irdma_rem_ref_cm_node(cm_node); in irdma_send_syn_cqp_callback()
2466 struct irdma_cm_node *cm_node = cmnode; in irdma_manage_qhash() local
[all …]
Dmain.h524 int irdma_send_syn(struct irdma_cm_node *cm_node, u32 sendack);
525 int irdma_send_reset(struct irdma_cm_node *cm_node);
Dverbs.h178 struct irdma_cm_node *cm_node; member
Dverbs.c1733 if (iwqp->cm_node) { in irdma_modify_qp()
1734 refcount_inc(&iwqp->cm_node->refcnt); in irdma_modify_qp()
1738 irdma_schedule_cm_timer(iwqp->cm_node, in irdma_modify_qp()
1742 irdma_rem_ref_cm_node(iwqp->cm_node); in irdma_modify_qp()