Home
last modified time | relevance | path

Searched refs:max_vf (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_dev.h36 u8 max_vf; member
483 u8 max_vf; member
Dhinic_sriov.c1087 dev_cap->max_vf = cap->max_vf; in cfg_mbx_pf_proc_vf_msg()
1205 nic_io->max_vfs = hwdev->nic_cap.max_vf; in hinic_vf_func_init()
Dhinic_hw_mbox.c586 if (vf_in_pf < 1 || vf_in_pf > hwdev->nic_cap.max_vf) { in check_vf_mbox_random_id()
590 hwdev->nic_cap.max_vf + offset); in check_vf_mbox_random_id()
1499 for (vf_in_pf = 1; vf_in_pf <= hwdev->nic_cap.max_vf; vf_in_pf++) { in hinic_vf_mbox_random_id_init()
Dhinic_hw_dev.c79 nic_cap->max_vf = dev_cap->max_vf; in parse_capability()
/linux-6.6.21/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c136 static DEVICE_ATTR_RO(max_vf);
/linux-6.6.21/drivers/scsi/bfa/
Dbfa_ioc.h942 enum bfa_mode_s mode, int max_pf, int max_vf,
945 enum bfa_mode_s mode, int max_pf, int max_vf,
Dbfa_defs.h760 u16 max_vf; member
Dbfi.h719 u8 max_vf; member
Dbfa_ioc.c3480 int max_pf, int max_vf, bfa_ablk_cbfn_t cbfn, void *cbarg) in bfa_ablk_adapter_config() argument
3503 m->max_vf = (u8)max_vf; in bfa_ablk_adapter_config()
3511 int max_pf, int max_vf, bfa_ablk_cbfn_t cbfn, void *cbarg) in bfa_ablk_port_config() argument
3535 m->max_vf = (u8)max_vf; in bfa_ablk_port_config()
Dbfa_defs_svc.h1330 u16 max_vf; member
Dbfad_bsg.c1292 iocmd->cfg.max_vf, bfad_hcb_comp, &fcomp); in bfad_iocmd_adapter_cfg_mode()
1315 iocmd->cfg.max_pf, iocmd->cfg.max_vf, in bfad_iocmd_port_cfg_mode()
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_int.c2188 u32 min_vf = 0, max_vf = 0; in qed_int_igu_read_cam() local
2205 max_vf = p_iov->first_vf_in_pf + p_iov->total_vfs; in qed_int_igu_read_cam()
2224 (p_block->function_id < max_vf)) { in qed_int_igu_read_cam()
Dqed_dev.c1776 u16 max_vf = qed_init_qm_get_num_vfs(p_hwfn); in qed_get_cm_pq_idx_vf() local
1778 if (max_vf == 0) { in qed_get_cm_pq_idx_vf()
1784 if (vf > max_vf) in qed_get_cm_pq_idx_vf()
1785 DP_ERR(p_hwfn, "vf %d must be smaller than %d\n", vf, max_vf); in qed_get_cm_pq_idx_vf()
1787 return qed_get_cm_pq_idx(p_hwfn, PQ_FLAGS_VFS) + (vf % max_vf); in qed_get_cm_pq_idx_vf()
/linux-6.6.21/Documentation/ABI/stable/
Dsysfs-class-infiniband563 What: /sys/class/infiniband/usnic_X/max_vf
580 max_vf: (RO) Max virtual functions