Searched refs:qp_grp (Results 1 – 7 of 7) sorted by relevance
/drivers/infiniband/hw/usnic/ |
D | usnic_ib_qp_grp.c | 79 struct usnic_ib_qp_grp *qp_grp = obj; in usnic_ib_qp_grp_dump_rows() local 82 default_flow = list_first_entry(&qp_grp->flows_lst, in usnic_ib_qp_grp_dump_rows() 85 qp_grp->ibqp.qp_num, in usnic_ib_qp_grp_dump_rows() 87 qp_grp->state), in usnic_ib_qp_grp_dump_rows() 88 qp_grp->owner_pid, in usnic_ib_qp_grp_dump_rows() 89 usnic_vnic_get_index(qp_grp->vf->vnic), in usnic_ib_qp_grp_dump_rows() 97 get_qp_res_chunk(struct usnic_ib_qp_grp *qp_grp) in get_qp_res_chunk() argument 99 lockdep_assert_held(&qp_grp->lock); in get_qp_res_chunk() 104 return usnic_ib_qp_grp_get_chunk(qp_grp, USNIC_VNIC_RES_TYPE_RQ); in get_qp_res_chunk() 107 static int enable_qp_grp(struct usnic_ib_qp_grp *qp_grp) in enable_qp_grp() argument [all …]
|
D | usnic_ib_verbs.c | 83 static int usnic_ib_fill_create_qp_resp(struct usnic_ib_qp_grp *qp_grp, in usnic_ib_fill_create_qp_resp() argument 96 us_ibdev = qp_grp->vf->pf; in usnic_ib_fill_create_qp_resp() 97 pdev = usnic_vnic_get_pdev(qp_grp->vf->vnic); in usnic_ib_fill_create_qp_resp() 100 qp_grp->grp_id); in usnic_ib_fill_create_qp_resp() 104 bar = usnic_vnic_get_bar(qp_grp->vf->vnic, 0); in usnic_ib_fill_create_qp_resp() 107 qp_grp->grp_id, pci_name(pdev)); in usnic_ib_fill_create_qp_resp() 111 resp.vfid = usnic_vnic_get_index(qp_grp->vf->vnic); in usnic_ib_fill_create_qp_resp() 115 chunk = usnic_ib_qp_grp_get_chunk(qp_grp, USNIC_VNIC_RES_TYPE_RQ); in usnic_ib_fill_create_qp_resp() 119 qp_grp->grp_id, in usnic_ib_fill_create_qp_resp() 129 chunk = usnic_ib_qp_grp_get_chunk(qp_grp, USNIC_VNIC_RES_TYPE_WQ); in usnic_ib_fill_create_qp_resp() [all …]
|
D | usnic_ib_sysfs.c | 189 struct usnic_ib_qp_grp *qp_grp; in usnic_ib_qpn_attr_show() local 192 qp_grp = container_of(kobj, struct usnic_ib_qp_grp, kobj); in usnic_ib_qpn_attr_show() 195 return qpn_attr->show(qp_grp, buf); in usnic_ib_qpn_attr_show() 205 static ssize_t context_show(struct usnic_ib_qp_grp *qp_grp, char *buf) in context_show() argument 207 return sysfs_emit(buf, "0x%p\n", qp_grp->ctx); in context_show() 210 static ssize_t summary_show(struct usnic_ib_qp_grp *qp_grp, char *buf) in summary_show() argument 218 qp_grp->ibqp.qp_num, in summary_show() 219 usnic_ib_qp_grp_state_to_string(qp_grp->state), in summary_show() 220 qp_grp->owner_pid, in summary_show() 221 usnic_vnic_get_index(qp_grp->vf->vnic)); in summary_show() [all …]
|
D | usnic_ib_qp_grp.h | 79 struct usnic_ib_qp_grp *qp_grp; member 97 void usnic_ib_qp_grp_destroy(struct usnic_ib_qp_grp *qp_grp); 98 int usnic_ib_qp_grp_modify(struct usnic_ib_qp_grp *qp_grp, 102 *usnic_ib_qp_grp_get_chunk(struct usnic_ib_qp_grp *qp_grp,
|
D | usnic_debugfs.c | 85 spin_lock(&qp_flow->qp_grp->lock); in flowinfo_read() 88 qp_flow->qp_grp->grp_id, in flowinfo_read() 102 spin_unlock(&qp_flow->qp_grp->lock); in flowinfo_read()
|
D | usnic_ib_sysfs.h | 41 void usnic_ib_sysfs_qpn_add(struct usnic_ib_qp_grp *qp_grp); 42 void usnic_ib_sysfs_qpn_remove(struct usnic_ib_qp_grp *qp_grp);
|
D | usnic_ib_main.c | 107 struct usnic_ib_qp_grp *qp_grp; in usnic_ib_qp_grp_modify_active_to_err() local 114 list_for_each_entry(qp_grp, &ctx->qp_grp_list, link) { in usnic_ib_qp_grp_modify_active_to_err() 115 cur_state = qp_grp->state; in usnic_ib_qp_grp_modify_active_to_err() 119 status = usnic_ib_qp_grp_modify(qp_grp, in usnic_ib_qp_grp_modify_active_to_err() 124 qp_grp->grp_id, in usnic_ib_qp_grp_modify_active_to_err()
|