Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/include/linux/qed/
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);
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
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,
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
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,
/kernel/linux/linux-5.10/arch/s390/pci/
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.c26 static int qed_iov_bulletin_set_mac(struct qed_hwfn *p_hwfn, u8 *mac, int vfid);
304 int vfid, struct qed_ptt *p_ptt) in qed_iov_post_vf_bulletin() argument
311 p_vf = qed_iov_get_vf_info(p_hwfn, (u16) vfid, true); in qed_iov_post_vf_bulletin()
656 int vfid, bool b_fail_malicious) in _qed_iov_pf_sanity_check() argument
664 if (!qed_iov_is_valid_vfid(p_hwfn, vfid, true, b_fail_malicious)) in _qed_iov_pf_sanity_check()
670 static bool qed_iov_pf_sanity_check(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_pf_sanity_check() argument
672 return _qed_iov_pf_sanity_check(p_hwfn, vfid, true); in qed_iov_pf_sanity_check()
937 u16 vfid, in qed_iov_set_link() argument
943 vfid, in qed_iov_set_link()
1330 static void qed_iov_clean_vf(struct qed_hwfn *p_hwfn, u8 vfid) in qed_iov_clean_vf() argument
[all …]
Dqed_cxt.h179 void _qed_cxt_release_cid(struct qed_hwfn *p_hwfn, u32 cid, u8 vfid);
205 enum protocol_type type, u32 *p_cid, u8 vfid);
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()
1823 DP_NOTICE(p_hwfn, "VF [%02x] is out of range\n", vfid); 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()
1876 *pp_map = &p_mngr->acquired_vf[*p_type][vfid]; in qed_cxt_test_cid_acquired()
1886 DP_NOTICE(p_hwfn, "Invalid CID %d vfid %02x", cid, vfid); in qed_cxt_test_cid_acquired()
[all …]
Dqed_sriov.h281 int vfid, u16 vxlan_port, u16 geneve_port);
387 qed_iov_bulletin_set_udp_ports(struct qed_hwfn *p_hwfn, int vfid, in qed_iov_bulletin_set_udp_ports() argument
Dqed_l2.h307 u8 vfid; member
342 u8 vfid; member
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()
882 if (p_cid->vfid != QED_QUEUE_CID_SELF) { in qed_eth_rxq_start_ramrod()
[all …]
Dqed_hw.h241 u32 qed_vfid_to_concrete(struct qed_hwfn *p_hwfn, u8 vfid);
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
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()
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()
Dcptvf.h96 u8 vfid; /* Device Index 0...CPT_MAX_VF_NUM */ member
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/
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()
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()
Dotx_cptvf.h71 u8 vfid; /* Device Index 0...OTX_CPT_MAX_VF_NUM */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_sriov.h11 ice_aq_send_msg_to_vf(struct ice_hw *hw, u16 vfid, u32 v_opcode, u32 v_retval,
18 u16 __always_unused vfid, u32 __always_unused v_opcode, in ice_aq_send_msg_to_vf() argument
Dice_sriov.c23 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
32 cmd->id = cpu_to_le32(vfid); in ice_aq_send_msg_to_vf()
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c111 resp.vfid = usnic_vnic_get_index(qp_grp->vf->vnic); in usnic_ib_fill_create_qp_resp()
674 unsigned int vfid; in usnic_ib_mmap() local
681 vfid = vma->vm_pgoff; in usnic_ib_mmap()
683 vma->vm_pgoff, PAGE_SHIFT, vfid); in usnic_ib_mmap()
688 if (usnic_vnic_get_index(vf->vnic) == vfid) { in usnic_ib_mmap()
711 usnic_err("No VF %u found\n", vfid); in usnic_ib_mmap()
Dusnic_abi.h70 u32 vfid; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c1037 static int bnx2x_vf_domain(struct bnx2x *bp, int vfid) in bnx2x_vf_domain() argument
1044 static int bnx2x_vf_bus(struct bnx2x *bp, int vfid) in bnx2x_vf_bus() argument
1050 iov->stride * vfid) >> 8); in bnx2x_vf_bus()
1053 static int bnx2x_vf_devfn(struct bnx2x *bp, int vfid) in bnx2x_vf_devfn() argument
1058 return (dev->devfn + iov->offset + iov->stride * vfid) & 0xff; in bnx2x_vf_devfn()
1532 int vfid; in bnx2x_iov_link_update() local
1537 for_each_vf(bp, vfid) in bnx2x_iov_link_update()
1538 bnx2x_iov_link_update_vf(bp, vfid); in bnx2x_iov_link_update()
1544 int vfid; in bnx2x_iov_nic_init() local
1557 for_each_vf(bp, vfid) { in bnx2x_iov_nic_init()
[all …]
/kernel/linux/linux-5.10/include/scsi/
Dfcoe_sysfs.h94 u16 vfid; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
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()
1376 if (fltr->vfid) { in qede_get_cls_rule_entry()
1377 fsp->ring_cookie |= ((u64)fltr->vfid) << in qede_get_cls_rule_entry()
1625 n->vfid = ethtool_get_flow_spec_ring_vf(fs->ring_cookie); in qede_flow_set_destination()
1629 if (n->vfid) in qede_flow_set_destination()
1631 "Configuring N-tuple for VF 0x%02x\n", n->vfid - 1); in qede_flow_set_destination()
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
Dfcoe_sysfs.c82 ((x)->vfid)
529 fcoe_fcf_private_rd_attr(vfid, "%u\n", 20);
1033 fcf->vfid = new_fcf->vfid; in fcoe_fcf_device_add()

12