Lines Matching refs:vnic_idx
41 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()
281 flow->flow_id, flow->vnic_idx, in usnic_fwd_dealloc_flow()
285 flow->ufdev->name, flow->vnic_idx, in usnic_fwd_dealloc_flow()
296 flow->ufdev->name, flow->vnic_idx, in usnic_fwd_dealloc_flow()
304 int usnic_fwd_enable_qp(struct usnic_fwd_dev *ufdev, int vnic_idx, int qp_idx) in usnic_fwd_enable_qp() argument
314 status = usnic_fwd_devcmd(ufdev, vnic_idx, CMD_QP_ENABLE, in usnic_fwd_enable_qp()
319 vnic_idx, in usnic_fwd_enable_qp()
325 vnic_idx, qp_idx); in usnic_fwd_enable_qp()
331 int usnic_fwd_disable_qp(struct usnic_fwd_dev *ufdev, int vnic_idx, int qp_idx) in usnic_fwd_disable_qp() argument
341 status = usnic_fwd_devcmd(ufdev, vnic_idx, CMD_QP_DISABLE, in usnic_fwd_disable_qp()
346 vnic_idx, in usnic_fwd_disable_qp()
352 vnic_idx, in usnic_fwd_disable_qp()