Home
last modified time | relevance | path

Searched refs:vfid (Results 1 – 25 of 48) sorted by relevance

12

/linux/include/linux/qed/
A Dqed_iov_if.h16 int (*set_mac) (struct qed_dev *cdev, u8 *mac, int vfid);
18 int (*set_vlan) (struct qed_dev *cdev, u16 vid, int vfid);
26 int (*set_spoof) (struct qed_dev *cdev, int vfid, bool val);
28 int (*set_rate) (struct qed_dev *cdev, int vfid,
31 int (*set_trust) (struct qed_dev *cdev, int vfid, bool trust);
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_trace.h23 __field(u8, vfid)
32 __entry->vfid = req->mbx_src_vfid;
43 __get_str(pciname), __get_str(devname), __entry->vfid,
56 __field(u8, vfid)
64 __entry->vfid = req->dest_vfid;
74 __get_str(pciname), __get_str(devname), __entry->vfid,
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
A Dhclgevf_trace.h23 __field(u8, vfid)
31 __entry->vfid = req->dest_vfid;
41 __get_str(pciname), __get_str(devname), __entry->vfid,
54 __field(u8, vfid)
63 __entry->vfid = req->mbx_src_vfid;
74 __get_str(pciname), __get_str(devname), __entry->vfid,
/linux/arch/s390/pci/
A Dpci_iov.c48 static int zpci_iov_link_virtfn(struct pci_dev *pdev, struct pci_dev *virtfn, int vfid) in zpci_iov_link_virtfn() argument
52 rc = pci_iov_sysfs_link(pdev, virtfn, vfid); in zpci_iov_link_virtfn()
68 int vfid = vfn - 1; /* Linux' vfid's start at 0 vfn at 1*/ in zpci_iov_setup_virtfn() local
87 cand_devfn = pci_iov_virtfn_devfn(pdev, vfid); in zpci_iov_setup_virtfn()
89 rc = zpci_iov_link_virtfn(pdev, virtfn, vfid); in zpci_iov_setup_virtfn()
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_sriov.c939 u16 vfid, in qed_iov_set_link() argument
2980 u8 vfid, in qed_iov_pre_update_vport() argument
3722 vfid); in qed_iov_execute_vf_flr_cleanup()
3729 ack_vfs[vfid / 32] |= BIT((vfid % 32)); in qed_iov_execute_vf_flr_cleanup()
3779 u8 vfid; in qed_iov_mark_vf_flr() local
3786 if (BIT((vfid % 32)) & p_disabled_vfs[vfid / 32]) { in qed_iov_mark_vf_flr()
4171 vfid); in qed_iov_bulletin_set_mac()
4177 vfid); in qed_iov_bulletin_set_mac()
4242 vfid); in qed_iov_bulletin_set_udp_ports()
4509 u16 vfid, in qed_sriov_enable_qid_config() argument
[all …]
A Dqed_cxt.c1811 enum protocol_type type, u32 *p_cid, u8 vfid) in _qed_cxt_acquire_cid() argument
1822 if (vfid >= MAX_NUM_VFS && vfid != QED_CXT_PF_CID) { in _qed_cxt_acquire_cid()
1828 if (vfid == QED_CXT_PF_CID) in _qed_cxt_acquire_cid()
1831 p_map = &p_mngr->acquired_vf[type][vfid]; in _qed_cxt_acquire_cid()
1851 *p_cid, rel_cid, vfid, type); in _qed_cxt_acquire_cid()
1864 u8 vfid, in qed_cxt_test_cid_acquired() argument
1873 if (vfid == QED_CXT_PF_CID) in qed_cxt_test_cid_acquired()
1893 cid, vfid); in qed_cxt_test_cid_acquired()
1911 if (vfid != QED_CXT_PF_CID && vfid > MAX_NUM_VFS) { in _qed_cxt_release_cid()
1914 vfid); in _qed_cxt_release_cid()
[all …]
A Dqed_cxt.h191 void _qed_cxt_release_cid(struct qed_hwfn *p_hwfn, u32 cid, u8 vfid);
217 enum protocol_type type, u32 *p_cid, u8 vfid);
A Dqed_l2.h306 u8 vfid; member
341 u8 vfid; member
A Dqed_sriov.h282 int vfid, u16 vxlan_port, u16 geneve_port);
422 qed_iov_bulletin_set_udp_ports(struct qed_hwfn *p_hwfn, int vfid, in qed_iov_bulletin_set_udp_ports() argument
A Dqed_l2.c177 _qed_cxt_release_cid(p_hwfn, p_cid->cid, p_cid->vfid); in qed_eth_queue_cid_release()
180 if (p_cid->vfid == QED_QUEUE_CID_SELF) in qed_eth_queue_cid_release()
218 p_cid->vfid = p_vf_params->vfid; in _qed_eth_queue_to_cid()
222 p_cid->vfid = QED_QUEUE_CID_SELF; in _qed_eth_queue_to_cid()
246 if (p_cid->vfid == QED_QUEUE_CID_SELF) { in _qed_eth_queue_to_cid()
294 u8 vfid = QED_CXT_PF_CID; in qed_eth_queue_to_cid() local
303 vfid = p_vf_params->vfid; in qed_eth_queue_to_cid()
317 &cid, vfid)) { in qed_eth_queue_to_cid()
326 _qed_cxt_release_cid(p_hwfn, cid, vfid); in qed_eth_queue_to_cid()
883 if (p_cid->vfid != QED_QUEUE_CID_SELF) { in qed_eth_rxq_start_ramrod()
[all …]
A Dqed_hw.h259 u32 qed_vfid_to_concrete(struct qed_hwfn *p_hwfn, u8 vfid);
/linux/drivers/crypto/cavium/cpt/
A Dcptvf_mbox.c34 cptvf->vfid = mbx.data; in cptvf_handle_mbox_intr()
35 dev_dbg(&cptvf->pdev->dev, "Received VFID %d\n", cptvf->vfid); in cptvf_handle_mbox_intr()
42 cptvf->vfid, ((mbx.data == SE_TYPES) ? "SE" : "AE"), in cptvf_handle_mbox_intr()
77 (mbx->msg & 0xFF), cptvf->vfid); in cptvf_send_msg_to_pf_timeout()
A Dcptvf_main.c527 intr, cptvf->vfid); in cptvf_misc_intr_handler()
535 intr, cptvf->vfid); in cptvf_misc_intr_handler()
539 intr, cptvf->vfid); in cptvf_misc_intr_handler()
543 intr, cptvf->vfid); in cptvf_misc_intr_handler()
547 intr, cptvf->vfid); in cptvf_misc_intr_handler()
550 cptvf->vfid); in cptvf_misc_intr_handler()
605 cptvf->vfid); in cptvf_done_intr_handler()
622 cptvf->vfid); in cptvf_set_irq_affinity()
626 cpu = cptvf->vfid % num_online_cpus(); in cptvf_set_irq_affinity()
A Dcptvf.h96 u8 vfid; /* Device Index 0...CPT_MAX_VF_NUM */ member
/linux/drivers/crypto/marvell/octeontx/
A Dotx_cptvf_mbox.c104 cptvf->vfid = mbx.data; in otx_cptvf_handle_mbox_intr()
105 dev_dbg(&cptvf->pdev->dev, "Received VFID %d\n", cptvf->vfid); in otx_cptvf_handle_mbox_intr()
111 cptvf->vfid, in otx_cptvf_handle_mbox_intr()
148 mbx->msg, cptvf->vfid); in cptvf_send_msg_to_pf_timeout()
A Dotx_cptvf_main.c506 intr, cptvf->vfid); in cptvf_misc_intr_handler()
515 intr, cptvf->vfid); in cptvf_misc_intr_handler()
520 intr, cptvf->vfid); in cptvf_misc_intr_handler()
525 intr, cptvf->vfid); in cptvf_misc_intr_handler()
530 intr, cptvf->vfid); in cptvf_misc_intr_handler()
533 cptvf->vfid); in cptvf_misc_intr_handler()
588 cptvf->vfid); in cptvf_done_intr_handler()
606 cptvf->vfid); in cptvf_set_irq_affinity()
610 cpu = cptvf->vfid % num_online_cpus(); in cptvf_set_irq_affinity()
A Dotx_cptvf.h71 u8 vfid; /* Device Index 0...OTX_CPT_MAX_VF_NUM */ member
/linux/drivers/net/ethernet/intel/ice/
A Dice_sriov.h18 ice_aq_send_msg_to_vf(struct ice_hw *hw, u16 vfid, u32 v_opcode, u32 v_retval,
36 u16 __always_unused vfid, u32 __always_unused v_opcode, in ice_aq_send_msg_to_vf() argument
A Dice_sriov.c22 ice_aq_send_msg_to_vf(struct ice_hw *hw, u16 vfid, u32 v_opcode, u32 v_retval, in ice_aq_send_msg_to_vf() argument
31 cmd->id = cpu_to_le32(vfid); in ice_aq_send_msg_to_vf()
/linux/drivers/infiniband/hw/usnic/
A Dusnic_ib_verbs.c111 resp.vfid = usnic_vnic_get_index(qp_grp->vf->vnic); in usnic_ib_fill_create_qp_resp()
672 unsigned int vfid; in usnic_ib_mmap() local
679 vfid = vma->vm_pgoff; in usnic_ib_mmap()
681 vma->vm_pgoff, PAGE_SHIFT, vfid); in usnic_ib_mmap()
686 if (usnic_vnic_get_index(vf->vnic) == vfid) { in usnic_ib_mmap()
709 usnic_err("No VF %u found\n", vfid); in usnic_ib_mmap()
A Dusnic_abi.h70 u32 vfid; member
/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_sriov.c1037 iov->stride * vfid) >> 8); in bnx2x_vf_bus()
1518 int vfid; in bnx2x_iov_link_update() local
1523 for_each_vf(bp, vfid) in bnx2x_iov_link_update()
1524 bnx2x_iov_link_update_vf(bp, vfid); in bnx2x_iov_link_update()
1530 int vfid; in bnx2x_iov_nic_init() local
1543 for_each_vf(bp, vfid) { in bnx2x_iov_nic_init()
1589 vfid * MBX_MSG_ALIGNED_SIZE; in bnx2x_iov_nic_init()
1596 for_each_vf(bp, vfid) { in bnx2x_iov_nic_init()
1600 vf->domain = bnx2x_vf_domain(bp, vfid); in bnx2x_iov_nic_init()
1601 vf->bus = bnx2x_vf_bus(bp, vfid); in bnx2x_iov_nic_init()
[all …]
/linux/drivers/net/ethernet/qlogic/qede/
A Dqede_filter.c64 u8 vfid; member
106 if (n->vfid) { in qede_configure_arfs_fltr()
108 params.vf_id = n->vfid - 1; in qede_configure_arfs_fltr()
118 n->sw_id, tuple_buffer, n->vfid, rxq_id); in qede_configure_arfs_fltr()
1367 if (fltr->vfid) { in qede_get_cls_rule_entry()
1368 fsp->ring_cookie |= ((u64)fltr->vfid) << in qede_get_cls_rule_entry()
1616 n->vfid = ethtool_get_flow_spec_ring_vf(fs->ring_cookie); in qede_flow_set_destination()
1620 if (n->vfid) in qede_flow_set_destination()
1622 "Configuring N-tuple for VF 0x%02x\n", n->vfid - 1); in qede_flow_set_destination()
/linux/include/scsi/
A Dfcoe_sysfs.h94 u16 vfid; member
/linux/drivers/scsi/fcoe/
A Dfcoe_sysfs.c82 ((x)->vfid)
529 fcoe_fcf_private_rd_attr(vfid, "%u\n", 20);
1032 fcf->vfid = new_fcf->vfid; in fcoe_fcf_device_add()

Completed in 70 milliseconds

12