Home
last modified time | relevance | path

Searched refs:vnic_idx (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/usnic/
Dusnic_fwd.c41 static int usnic_fwd_devcmd_locked(struct usnic_fwd_dev *ufdev, int vnic_idx, in usnic_fwd_devcmd_locked() argument
51 vnic_idx, in usnic_fwd_devcmd_locked()
58 ufdev->name, vnic_idx, cmd); in usnic_fwd_devcmd_locked()
61 ufdev->name, vnic_idx, cmd, in usnic_fwd_devcmd_locked()
66 ufdev->name, vnic_idx, cmd); in usnic_fwd_devcmd_locked()
72 static int usnic_fwd_devcmd(struct usnic_fwd_dev *ufdev, int vnic_idx, in usnic_fwd_devcmd() argument
78 status = usnic_fwd_devcmd_locked(ufdev, vnic_idx, cmd, a0, a1); in usnic_fwd_devcmd()
244 status = usnic_fwd_devcmd_locked(ufdev, uaction->vnic_idx, in usnic_fwd_alloc_flow()
256 flow->vnic_idx = uaction->vnic_idx; in usnic_fwd_alloc_flow()
276 status = usnic_fwd_devcmd(flow->ufdev, flow->vnic_idx, in usnic_fwd_dealloc_flow()
[all …]
Dusnic_ib_qp_grp.c110 int i, vnic_idx; in enable_qp_grp() local
116 vnic_idx = usnic_vnic_get_index(qp_grp->vf->vnic); in enable_qp_grp()
127 status = usnic_fwd_enable_qp(qp_grp->ufdev, vnic_idx, in enable_qp_grp()
128 res->vnic_idx); in enable_qp_grp()
131 res->vnic_idx, qp_grp->ufdev->name, in enable_qp_grp()
132 vnic_idx, status); in enable_qp_grp()
142 usnic_fwd_disable_qp(qp_grp->ufdev, vnic_idx, in enable_qp_grp()
143 res->vnic_idx); in enable_qp_grp()
151 int i, vnic_idx; in disable_qp_grp() local
157 vnic_idx = usnic_vnic_get_index(qp_grp->vf->vnic); in disable_qp_grp()
[all …]
Dusnic_fwd.h66 unsigned int vnic_idx; member
70 int vnic_idx; member
94 int usnic_fwd_enable_qp(struct usnic_fwd_dev *ufdev, int vnic_idx, int qp_idx);
95 int usnic_fwd_disable_qp(struct usnic_fwd_dev *ufdev, int vnic_idx, int qp_idx);
Dusnic_vnic.h62 unsigned int vnic_idx; member
Dusnic_ib_verbs.c126 resp.rq_idx[i] = chunk->res[i]->vnic_idx; in usnic_ib_fill_create_qp_resp()
140 resp.wq_idx[i] = chunk->res[i]->vnic_idx; in usnic_ib_fill_create_qp_resp()
154 resp.cq_idx[i] = chunk->res[i]->vnic_idx; in usnic_ib_fill_create_qp_resp()
Dusnic_vnic.c124 res->vnic_idx, res->ctrl, !!res->owner); in usnic_vnic_dump()
325 res->vnic_idx = i; in usnic_vnic_alloc_res_chunk()
Dusnic_ib_sysfs.c228 vnic_res->vnic_idx); in summary_show()