Lines Matching refs:qp_flow
71 struct usnic_ib_qp_grp_flow *qp_flow;
77 qp_flow = f->private_data;
84 spin_lock(&qp_flow->qp_grp->lock);
87 qp_flow->qp_grp->grp_id,
88 usnic_transport_to_str(qp_flow->trans_type));
90 if (qp_flow->trans_type == USNIC_TRANSPORT_ROCE_CUSTOM) {
92 qp_flow->usnic_roce.port_num);
94 } else if (qp_flow->trans_type == USNIC_TRANSPORT_IPV4_UDP) {
96 qp_flow->udp.sock);
101 spin_unlock(&qp_flow->qp_grp->lock);
128 void usnic_debugfs_flow_add(struct usnic_ib_qp_grp_flow *qp_flow)
130 scnprintf(qp_flow->dentry_name, sizeof(qp_flow->dentry_name),
131 "%u", qp_flow->flow->flow_id);
132 qp_flow->dbgfs_dentry = debugfs_create_file(qp_flow->dentry_name,
135 qp_flow,
139 void usnic_debugfs_flow_remove(struct usnic_ib_qp_grp_flow *qp_flow)
141 debugfs_remove(qp_flow->dbgfs_dentry);