Lines Matching refs:qp_flow
57 struct usnic_ib_qp_grp_flow *qp_flow;
63 qp_flow = f->private_data;
70 spin_lock(&qp_flow->qp_grp->lock);
73 qp_flow->qp_grp->grp_id,
74 usnic_transport_to_str(qp_flow->trans_type));
76 if (qp_flow->trans_type == USNIC_TRANSPORT_ROCE_CUSTOM) {
78 qp_flow->usnic_roce.port_num);
80 } else if (qp_flow->trans_type == USNIC_TRANSPORT_IPV4_UDP) {
82 qp_flow->udp.sock);
87 spin_unlock(&qp_flow->qp_grp->lock);
132 void usnic_debugfs_flow_add(struct usnic_ib_qp_grp_flow *qp_flow)
137 scnprintf(qp_flow->dentry_name, sizeof(qp_flow->dentry_name),
138 "%u", qp_flow->flow->flow_id);
139 qp_flow->dbgfs_dentry = debugfs_create_file(qp_flow->dentry_name,
142 qp_flow,
144 if (IS_ERR_OR_NULL(qp_flow->dbgfs_dentry)) {
146 qp_flow->flow->flow_id);
150 void usnic_debugfs_flow_remove(struct usnic_ib_qp_grp_flow *qp_flow)
152 if (!IS_ERR_OR_NULL(qp_flow->dbgfs_dentry))
153 debugfs_remove(qp_flow->dbgfs_dentry);