Searched refs:qp_flow (Results 1 – 3 of 3) sorted by relevance
211 struct usnic_ib_qp_grp_flow *qp_flow; in create_roce_custom_flow() local236 qp_flow = kzalloc(sizeof(*qp_flow), GFP_ATOMIC); in create_roce_custom_flow()237 if (!qp_flow) { in create_roce_custom_flow()241 qp_flow->flow = flow; in create_roce_custom_flow()242 qp_flow->trans_type = trans_type; in create_roce_custom_flow()243 qp_flow->usnic_roce.port_num = port_num; in create_roce_custom_flow()244 qp_flow->qp_grp = qp_grp; in create_roce_custom_flow()245 return qp_flow; in create_roce_custom_flow()254 static void release_roce_custom_flow(struct usnic_ib_qp_grp_flow *qp_flow) in release_roce_custom_flow() argument256 usnic_fwd_dealloc_flow(qp_flow->flow); in release_roce_custom_flow()[all …]
72 struct usnic_ib_qp_grp_flow *qp_flow; in flowinfo_read() local78 qp_flow = f->private_data; in flowinfo_read()85 spin_lock(&qp_flow->qp_grp->lock); in flowinfo_read()88 qp_flow->qp_grp->grp_id, in flowinfo_read()89 usnic_transport_to_str(qp_flow->trans_type)); in flowinfo_read()91 if (qp_flow->trans_type == USNIC_TRANSPORT_ROCE_CUSTOM) { in flowinfo_read()93 qp_flow->usnic_roce.port_num); in flowinfo_read()95 } else if (qp_flow->trans_type == USNIC_TRANSPORT_IPV4_UDP) { in flowinfo_read()97 qp_flow->udp.sock); in flowinfo_read()102 spin_unlock(&qp_flow->qp_grp->lock); in flowinfo_read()[all …]
41 void usnic_debugfs_flow_add(struct usnic_ib_qp_grp_flow *qp_flow);42 void usnic_debugfs_flow_remove(struct usnic_ib_qp_grp_flow *qp_flow);